home *** CD-ROM | disk | FTP | other *** search
/ SGI O2 Out of Box Experience / SGI O2 Out of Box Experience.iso / jungleIsland / Boink / boink.wrl < prev    next >
Text File  |  1996-11-14  |  100KB  |  4,016 lines

  1. #VRML V2.0 utf8 CosmoWorlds V1.0
  2.  
  3. Group {
  4.   children    [
  5.     DEF COLLISION Collision {
  6.       children    [
  7.     Transform {
  8.       children    [
  9.         DEF _1 WorldInfo {
  10.           info    "Boink2!
  11.            author: Sam Chen (sAmbO)
  12.                    Silicon Graphics Inc. 1996
  13.                    O2 Out Of Box Experience"
  14.         }
  15.         DEF _2 NavigationInfo {
  16.           headlight    FALSE
  17.           type    "WALK"
  18.         }
  19.         DEF DIMMER-TIMER TimeSensor {
  20.           cycleInterval    5
  21.           startTime    0
  22.         }
  23.         DEF SUN-DIMMER ScalarInterpolator {
  24.           key    [ 0, 1 ]
  25.           keyValue    [ 1, 0 ]
  26.         }
  27.         DEF PTLIGHT-DIMMER ScalarInterpolator {
  28.           key    [ 0, 0.5, 1 ]
  29.           keyValue    [ 1, 0.3, 0 ]
  30.         }
  31.         DEF DIMMER-LOGIC Script {
  32.           eventOut          SFFloat          sunFractionOut
  33.           eventOut          SFFloat          ptLightFractionOut
  34.           eventOut          SFTime          dimmerStartTime
  35.           eventOut          SFBool          coneLightOn
  36.           eventOut          SFBool          cubeLightOn
  37.           eventOut          SFBool          ballLightOn
  38.           eventOut          SFBool          sunOn
  39.           eventOut          SFInt32          dummyState
  40.           eventOut          SFBool          enableDimmer
  41.           eventIn          SFBool          triggerIn
  42.           eventIn          SFFloat          fractionIn
  43.           eventIn          SFBool          dimmerActive
  44.           eventIn          SFTime          triggerTouchTime
  45.           field          SFInt32          mainLightState    0
  46.           url    "vrmlscript:
  47.     function triggerIn(isActive) {
  48.         if (isActive) {
  49.                 mainLightState = mainLightState + 1;
  50.         if (mainLightState >= 3) 
  51.             mainLightState = 0;
  52.         }
  53.     }
  54.  
  55.         function triggerTouchTime(touchTime) {
  56.         dimmerStartTime = touchTime;
  57.         }
  58.     
  59.     function fractionIn(value) {
  60.         if (mainLightState == 0) {
  61.         sunFractionOut = 1-value;
  62.         } 
  63.         else if (mainLightState == 1) { 
  64.             sunFractionOut = 2*value;
  65.             ptLightFractionOut = 1-value;
  66.          }
  67.              else if (mainLightState == 2) {
  68.                     ptLightFractionOut = 2*value;
  69.               }
  70.     }
  71.  
  72.     function dimmerActive(isActive) {
  73.         if (isActive) {
  74.         enableDimmer = FALSE;
  75.         if (mainLightState == 1) {
  76.             coneLightOn = TRUE;
  77.             cubeLightOn = TRUE;
  78.             ballLightOn = TRUE;
  79.             }
  80.         else if (mainLightState == 0) 
  81.             sunOn = TRUE;
  82.         }
  83.  
  84.             if (!isActive) {
  85.         enableDimmer = TRUE;
  86.                 if (mainLightState != 1) {
  87.                     coneLightOn = FALSE;
  88.                     cubeLightOn = FALSE;
  89.                     ballLightOn = FALSE;
  90.                 }
  91.                 else if (mainLightState != 0)
  92.             sunOn = FALSE;
  93.             }
  94.     }
  95.     
  96. "
  97.         }
  98.         DEF TRACKLIGHT-LOGIC Script {
  99.           eventOut          SFBool          spot0_0On
  100.           eventOut          SFBool          spot0_1On
  101.           eventOut          SFBool          spot0_2On
  102.           eventOut          SFBool          spot0_3On
  103.           eventOut          SFBool          spot1_0On
  104.           eventOut          SFBool          spot1_1On
  105.           eventOut          SFBool          spot1_2On
  106.           eventOut          SFBool          spot1_3On
  107.           eventOut          SFBool          spot2_0On
  108.           eventOut          SFBool          spot2_1On
  109.           eventOut          SFBool          spot2_2On
  110.           eventOut          SFBool          spot2_3On
  111.           eventIn          SFTime          trigger0
  112.           eventIn          SFTime          trigger1
  113.           eventIn          SFTime          trigger2
  114.           field          SFInt32          state0    0
  115.           field          SFInt32          state1    2
  116.           field          SFInt32          state2    -1
  117.           url    "vrmlscript:
  118.  
  119.     function trigger0(touchTime) {
  120.         state0 = state0 + 1;
  121.         if (state0 >= 5) 
  122.         state0 = 0;
  123.         spot0_0On = FALSE;
  124.         spot0_1On = FALSE;
  125.         spot0_2On = FALSE;
  126.         spot0_3On = FALSE;
  127.         if (state0 == 0) spot0_0On = TRUE;
  128.         if (state0 == 1) spot0_1On = TRUE;
  129.         if (state0 == 2) spot0_2On = TRUE;
  130.         if (state0 == 3) spot0_3On = TRUE;
  131.     }
  132.  
  133.         function trigger1(touchTime) {
  134.             state1 = state1 + 1;
  135.             if (state1 >= 5)
  136.                 state1 = 0;
  137.             spot1_0On = FALSE;
  138.             spot1_1On = FALSE;
  139.             spot1_2On = FALSE;
  140.             spot1_3On = FALSE;
  141.             if (state1 == 0) spot1_0On = TRUE;
  142.             if (state1 == 1) spot1_1On = TRUE;
  143.             if (state1 == 2) spot1_2On = TRUE;
  144.             if (state1 == 3) spot1_3On = TRUE;
  145.         }      
  146.  
  147.         function trigger2(touchTime) {
  148.             state2 = state2 + 1;
  149.             if (state2 >= 5)
  150.                 state2 = 0;
  151.             spot2_0On = FALSE;
  152.             spot2_1On = FALSE;
  153.             spot2_2On = FALSE;
  154.             spot2_3On = FALSE;
  155.             if (state2 == 0) spot2_0On = TRUE;
  156.             if (state2 == 1) spot2_1On = TRUE;
  157.             if (state2 == 2) spot2_2On = TRUE;
  158.             if (state2 == 3) spot2_3On = TRUE;
  159.         }      
  160.     
  161.     "
  162.         }
  163.         Group {
  164.           children    [
  165.         DEF VIEWPOINTS Group {
  166.           children    [
  167.             DEF entry Viewpoint {
  168.               position    4 8 35
  169.               orientation    0 1 0  0.15
  170.               fieldOfView    1
  171.               description    "entry"
  172.             }
  173.             DEF view1 Viewpoint {
  174.               position    10 2 15
  175.               orientation    0 1 0  0.6
  176.               fieldOfView    1.2
  177.               description    "viewpoint1"
  178.             }
  179.             DEF view2 Viewpoint {
  180.               position    15 3 10
  181.               orientation    0 1 0  1
  182.               fieldOfView    1.4
  183.               description    "viewpoint2"
  184.             }
  185.             DEF view3 Viewpoint {
  186.               position    10 2 2
  187.               orientation    0 1 0  1.3
  188.               fieldOfView    1.6
  189.               description    "viewpoint3"
  190.             }
  191.           ]
  192.         }
  193.         DEF REFLECTED-LIGHT DirectionalLight {
  194.           on    TRUE
  195.           intensity    0.5
  196.           direction    0 1 0
  197.         }
  198.         DEF SUN SpotLight {
  199.           on    TRUE
  200.           intensity    1
  201.           location    0 12 0
  202.           direction    0 -1 0
  203.           beamWidth    0.4
  204.           cutOffAngle    1.57
  205.         }
  206.         DEF AMBIENT-SOUNDTRACK Sound {
  207.           source    AudioClip {
  208.             url    "Sounds/spacey.wav"
  209.             loop    TRUE
  210.             startTime    1
  211.           }
  212.  
  213.           intensity    0.5
  214.           minFront    10
  215.           maxFront    50
  216.           minBack    10
  217.           maxBack    50
  218.           spatialize    FALSE
  219.         }
  220.         DEF REFL-CUBE-ROOT Transform {
  221.           children    DEF REFL-CUBE-XFORM-SHUTTLE Transform {
  222.             children    [
  223.               DEF REFL-CUBE-SHUTTLER PositionInterpolator {
  224.             key    [ 0, 0.125, 0.25, 0.375,
  225.                   0.5, 0.625, 0.75, 0.875,
  226.                   1 ]
  227.             keyValue    [ 0 0 0,
  228.                   -2 0 -2,
  229.                   -4 0 -4,
  230.                   0 0 -5,
  231.                   4 0 -6,
  232.                   5 0 -4,
  233.                   6 0 -2,
  234.                   3 0 -1,
  235.                   0 0 0 ]
  236.               }
  237.               DEF REFL-CUBE-XFORM-BOUNCE Transform {
  238.             children    [
  239.               DEF REFL-CUBE-BOUNCER PositionInterpolator {
  240.                 key    [ 0, 0.04, 0.1, 0.2,
  241.                       0.3, 0.4, 0.5, 0.6,
  242.                       0.7, 0.8, 0.9, 0.96,
  243.                       1 ]
  244.                 keyValue    [ 0 0 0,
  245.                       0 -0.66 0,
  246.                       0 -1.664 0,
  247.                       0 -3.036 0,
  248.                       0 -4.016 0,
  249.                       0 -4.604 0,
  250.                       0 -4.8 0,
  251.                       0 -4.604 0,
  252.                       0 -4.016 0,
  253.                       0 -3.036 0,
  254.                       0 -1.664 0,
  255.                       0 -0.66 0,
  256.                       0 0 0 ]
  257.               }
  258.               DEF REFL-CUBE-DEFORM-XFORM Transform {
  259.                 children    DEF REFL-CUBE-SWITCH Switch {
  260.                   whichChoice    0
  261.                   choice    [
  262.                 DEF INLINE-CUBE0 Transform {
  263.                   children    Shape {
  264.                     appearance    Appearance {
  265.                       material    Material {
  266.                     diffuseColor    0 0 1
  267.                       }
  268.  
  269.                     }
  270.  
  271.                     geometry    Box {
  272.                     }
  273.  
  274.                   }
  275.  
  276.                   translation    0 -0.4 0
  277.                   scale    0.7 0.7 0.7
  278.                 }
  279.                 Transform {
  280.                   children    [
  281.                     DEF DICE-REFL-XFORM Transform {
  282.                       children    [
  283.                     DEF DICE-REFL-CUBE Transform {
  284.                       children    Shape {
  285.                         appearance    Appearance {
  286.                           material    Material {
  287.                         ambientIntensity    0.37234
  288.                         diffuseColor    1 1 1
  289.                         specularColor    0 0 0
  290.                         emissiveColor    0 0 0
  291.                         shininess    0.2
  292.                         transparency    0
  293.                           }
  294.  
  295.                         }
  296.  
  297.                         geometry    Box {
  298.                         }
  299.  
  300.                       }
  301.  
  302.                       translation    0 -0.4 0
  303.                       scale    0.7 0.7 0.7
  304.                     }
  305.                     DEF ONE Transform {
  306.                       children    DEF _18 Transform {
  307.                         children    Shape {
  308.                           appearance    Appearance {
  309.                         material    Material {
  310.                           ambientIntensity    0
  311.                           diffuseColor    0 0 0
  312.                           specularColor    0 0 0
  313.                           emissiveColor    0 0 0
  314.                           shininess    0
  315.                           transparency    0
  316.                         }
  317.  
  318.                           }
  319.  
  320.                           geometry    IndexedFaceSet {
  321.                         coord    Coordinate {
  322.                           point    [ -0.273964 0.0103553 0.709745,
  323.                                 -0.371403 -0.0932954 0.709745,
  324.                                 -0.268615 -0.191044 0.709745,
  325.                                 -0.169004 -0.0874824 0.709745 ]
  326.                         }
  327.  
  328.                         coordIndex    [ 2, 0, 1, -1, 0, 2, 3, -1 ]
  329.                         colorIndex    [  ]
  330.                         solid    FALSE
  331.                           }
  332.  
  333.                         }
  334.  
  335.                         translation    0.438655 -0.259008 -0.373927
  336.                         rotation    0 0 1  0
  337.                         scale    1.53072 1.53072 1.53072
  338.                       }
  339.  
  340.                       translation    0.00330409 -0.0148406 0.0120958
  341.                       rotation    0 -1 0  1.5708
  342.                       scale    1 1 1
  343.                     }
  344.                     DEF FIVE Transform {
  345.                       children    [
  346.                         Transform {
  347.                           children    USE _18
  348.  
  349.                           translation    0.392234 -0.395685 -0.0072127
  350.                           rotation    0 0 1  0
  351.                         }
  352.                         Transform {
  353.                           children    USE _18
  354.  
  355.                           translation    0.377448 0.379088 -0.0072127
  356.                           rotation    0 0 1  0
  357.                         }
  358.                         Transform {
  359.                           children    USE _18
  360.  
  361.                           translation    -0.397325 0.379088 -0.0072127
  362.                           rotation    0 0 1  0
  363.                         }
  364.                         Transform {
  365.                           children    USE _18
  366.  
  367.                           translation    -0.397325 -0.383856 -0.0072127
  368.                           rotation    0 0 1  0
  369.                         }
  370.                         USE _18
  371.                       ]
  372.                     }
  373.                     DEF THREE Transform {
  374.                       children    [
  375.                         Transform {
  376.                           children    USE _18
  377.  
  378.                           translation    -0.402634 -0.411759 -0.0266201
  379.                           rotation    1 0 0  4.71239
  380.                           scale    1 1 1
  381.                         }
  382.                         Transform {
  383.                           children    USE _18
  384.  
  385.                           translation    0.355211 -0.376082 -0.797508
  386.                           rotation    -1 0 0  1.5708
  387.                           scale    1 0.999999 0.999999
  388.                         }
  389.                         Transform {
  390.                           children    USE _18
  391.  
  392.                           translation    -0.0215211 -0.408848 -0.412381
  393.                           rotation    1 0 0  4.70911
  394.                           scale    1 1 1
  395.                         }
  396.                       ]
  397.                     }
  398.                     DEF FOUR Transform {
  399.                       children    [
  400.                         Transform {
  401.                           children    USE _18
  402.  
  403.                           translation    -0.00797015 0.358792 0.413702
  404.                           rotation    0 1 0  1.5708
  405.                           scale    1 1 1
  406.                         }
  407.                         Transform {
  408.                           children    USE _18
  409.  
  410.                           translation    1.41994 0.362765 -0.44969
  411.                           rotation    0 -1 0  1.57079
  412.                           scale    1 1 1
  413.                         }
  414.                         Transform {
  415.                           children    USE _18
  416.  
  417.                           translation    -0.00441551 -0.359312 0.411877
  418.                           rotation    0 1 0  1.5708
  419.                           scale    1 1 1
  420.                         }
  421.                         Transform {
  422.                           children    USE _18
  423.  
  424.                           translation    1.42025 -0.367389 -0.445659
  425.                           rotation    0 -1 0  1.5708
  426.                           scale    1 0.999999 1
  427.                         }
  428.                       ]
  429.                     }
  430.                     DEF SIX Transform {
  431.                       children    [
  432.                         Transform {
  433.                           children    USE _18
  434.  
  435.                           translation    -0.0303746 0.359532 -1.42003
  436.                           rotation    0 0 1  0
  437.                         }
  438.                         Transform {
  439.                           children    USE _18
  440.  
  441.                           translation    0.426891 0.36159 -1.41721
  442.                           rotation    0 0 1  0
  443.                         }
  444.                         Transform {
  445.                           children    USE _18
  446.  
  447.                           translation    -0.498643 0.363116 -1.41372
  448.                           rotation    0 0 1  0
  449.                         }
  450.                         Transform {
  451.                           children    USE _18
  452.  
  453.                           translation    -0.044123 -0.343557 -1.42939
  454.                           rotation    0 0 1  0
  455.                         }
  456.                         Transform {
  457.                           children    USE _18
  458.  
  459.                           translation    -0.488142 -0.353554 -1.4206
  460.                           rotation    0 0 1  0
  461.                         }
  462.                         Transform {
  463.                           children    USE _18
  464.  
  465.                           translation    0.431724 -0.350167 -1.4129
  466.                           rotation    0 0 1  0
  467.                         }
  468.                       ]
  469.                     }
  470.                     DEF TWO Transform {
  471.                       children    [
  472.                         Transform {
  473.                           children    USE _18
  474.  
  475.                           translation    0.354349 -1.8148 -0.802267
  476.                           rotation    1 0 0  4.71239
  477.                           scale    0.999999 1 1
  478.                         }
  479.                         Transform {
  480.                           children    USE _18
  481.  
  482.                           translation    -0.427804 -1.82532 -0.00819719
  483.                           rotation    -1 0 0  1.5708
  484.                           scale    1 1 1
  485.                         }
  486.                       ]
  487.                     }
  488.                       ]
  489.                       rotation    0 0 1  0
  490.                     }
  491.                     DEF DICE-REFL-TIMER TimeSensor {
  492.                       cycleInterval    16
  493.                       loop    TRUE
  494.                       startTime    1
  495.                       stopTime    0
  496.                     }
  497.                     DEF DICE-REFL-ENGINE OrientationInterpolator {
  498.                       key    [ 0, 0.5, 1 ]
  499.                       keyValue    [ 0 0 1  0,
  500.                             0 1 0  3.14,
  501.                             0 1 0  6.28002 ]
  502.                     }
  503.                   ]
  504.                 }
  505.                 DEF INLINE-CUBE2 Transform {
  506.                   children    Shape {
  507.                     appearance    Appearance {
  508.                       material    Material {
  509.                     diffuseColor    0.6 0.6 0
  510.                       }
  511.  
  512.                     }
  513.  
  514.                     geometry    Box {
  515.                     }
  516.  
  517.                   }
  518.  
  519.                   translation    0 -0.4 0
  520.                   scale    0.7 0.7 0.7
  521.                 }
  522.                   ]
  523.                 }
  524.  
  525.                 translation    0 -0.0156078 0
  526.                 scale    1.3 0.7 1.3
  527.               }
  528.             ]
  529.             translation    0 0 0
  530.               }
  531.             ]
  532.             translation    0 0 0
  533.           }
  534.  
  535.           translation    3 -1 2
  536.         }
  537.         DEF REFL-CONE-ROOT Transform {
  538.           children    DEF REFL-CONE-XFORM-SHUTTLE Transform {
  539.             children    [
  540.               DEF REFL-CONE-XFORM-BOUNCE Transform {
  541.             children    [
  542.               DEF REFL-CONE-DEFORM-XFORM Transform {
  543.                 children    DEF REFL-CONE-SWITCH Switch {
  544.                   whichChoice    0
  545.                   choice    [
  546.                 DEF INLINE-CONE0 Transform {
  547.                   children    Shape {
  548.                     appearance    Appearance {
  549.                       material    Material {
  550.                     diffuseColor    0 1 0
  551.                       }
  552.  
  553.                     }
  554.  
  555.                     geometry    Cone {
  556.                     }
  557.  
  558.                   }
  559.  
  560.                   translation    0 -0.7 0
  561.                 }
  562.                 DEF INLINE-CONE1 Group {
  563.                   children    Transform {
  564.                     children    Shape {
  565.                       appearance    Appearance {
  566.                     material    Material {
  567.                       ambientIntensity    0.2
  568.                       diffuseColor    1 1 1
  569.                       specularColor    0 0 0
  570.                       emissiveColor    0 0 0
  571.                       shininess    0.2
  572.                       transparency    0
  573.                     }
  574.  
  575.                     texture    ImageTexture {
  576.                       url    "stripesEven.rgba"
  577.                     }
  578.  
  579.                     textureTransform    TextureTransform {
  580.                       translation    0 0.82
  581.                       rotation    0
  582.                       scale    1 1.14803
  583.                       center    0.5 -0.32
  584.                     }
  585.  
  586.                       }
  587.  
  588.                       geometry    IndexedFaceSet {
  589.                     coord    Coordinate {
  590.                       point    [ 0 -1 -1,
  591.                             0 1 0,
  592.                             0.382683 -1 -0.92388,
  593.                             0.707107 -1 -0.707107,
  594.                             0.92388 -1 -0.382683,
  595.                             1 -1 4.37114e-08,
  596.                             0.92388 -1 0.382684,
  597.                             0.707107 -1 0.707107,
  598.                             0.382683 -1 0.92388,
  599.                             1.50996e-07 -1 1,
  600.                             -0.382683 -1 0.92388,
  601.                             -0.707107 -1 0.707107,
  602.                             -0.92388 -1 0.382684,
  603.                             -1 -1 -1.19249e-08,
  604.                             -0.923879 -1 -0.382684,
  605.                             -0.707107 -1 -0.707107,
  606.                             -0.382683 -1 -0.92388,
  607.                             0 -1 0 ]
  608.                     }
  609.  
  610.                     coordIndex    [ 0, 1, 2, -1, 2, 1, 3, -1,
  611.                           3, 1, 4, -1, 4, 1, 5, -1,
  612.                           5, 1, 6, -1, 6, 1, 7, -1,
  613.                           7, 1, 8, -1, 8, 1, 9, -1,
  614.                           9, 1, 10, -1, 10, 1, 11, -1,
  615.                           11, 1, 12, -1, 12, 1, 13, -1,
  616.                           13, 1, 14, -1, 14, 1, 15, -1,
  617.                           15, 1, 16, -1, 16, 1, 0, -1,
  618.                           17, 0, 2, -1, 17, 2, 3, -1,
  619.                           17, 3, 4, -1, 17, 4, 5, -1,
  620.                           17, 5, 6, -1, 17, 6, 7, -1,
  621.                           17, 7, 8, -1, 17, 8, 9, -1,
  622.                           17, 9, 10, -1, 17, 10, 11, -1,
  623.                           17, 11, 12, -1, 17, 12, 13, -1,
  624.                           17, 13, 14, -1, 17, 14, 15, -1,
  625.                           17, 15, 16, -1, 17, 16, 0, -1 ]
  626.                     texCoord    TextureCoordinate {
  627.                       point    [ 0 0,
  628.                             0 1,
  629.                             0.0625 0,
  630.                             0.0625 1,
  631.                             0.125 0,
  632.                             0.125 1,
  633.                             0.1875 0,
  634.                             0.1875 1,
  635.                             0.25 0,
  636.                             0.25 1,
  637.                             0.3125 0,
  638.                             0.3125 1,
  639.                             0.375 0,
  640.                             0.375 1,
  641.                             0.4375 0,
  642.                             0.4375 1,
  643.                             0.5 0,
  644.                             0.5 1,
  645.                             0.5625 0,
  646.                             0.5625 1,
  647.                             0.625 0,
  648.                             0.625 1,
  649.                             0.6875 0,
  650.                             0.6875 1,
  651.                             0.75 0,
  652.                             0.75 1,
  653.                             0.8125 0,
  654.                             0.8125 1,
  655.                             0.875 0,
  656.                             0.875 1,
  657.                             0.9375 0,
  658.                             0.9375 1,
  659.                             1 0,
  660.                             0.5 0.5,
  661.                             0.691342 0.0380602,
  662.                             0.853553 0.146447,
  663.                             0.96194 0.308658,
  664.                             1 0.5,
  665.                             0.96194 0.691342,
  666.                             0.853553 0.853553,
  667.                             0.691342 0.96194,
  668.                             0.5 1,
  669.                             0.308658 0.96194,
  670.                             0.146447 0.853554,
  671.                             0.0380602 0.691342,
  672.                             0 0.5,
  673.                             0.0380603 0.308658,
  674.                             0.146447 0.146446,
  675.                             0.308659 0.0380601 ]
  676.                     }
  677.  
  678.                     texCoordIndex    [ 0, 1, 2, -1, 2, 3, 4, -1,
  679.                           4, 5, 6, -1, 6, 7, 8, -1,
  680.                           8, 9, 10, -1, 10, 11, 12, -1,
  681.                           12, 13, 14, -1, 14, 15, 16, -1,
  682.                           16, 17, 18, -1, 18, 19, 20, -1,
  683.                           20, 21, 22, -1, 22, 23, 24, -1,
  684.                           24, 25, 26, -1, 26, 27, 28, -1,
  685.                           28, 29, 30, -1, 30, 31, 32, -1,
  686.                           33, 16, 34, -1, 33, 34, 35, -1,
  687.                           33, 35, 36, -1, 33, 36, 37, -1,
  688.                           33, 37, 38, -1, 33, 38, 39, -1,
  689.                           33, 39, 40, -1, 33, 40, 41, -1,
  690.                           33, 41, 42, -1, 33, 42, 43, -1,
  691.                           33, 43, 44, -1, 33, 44, 45, -1,
  692.                           33, 45, 46, -1, 33, 46, 47, -1,
  693.                           33, 47, 48, -1, 33, 48, 16, -1 ]
  694.                     creaseAngle    1.92265
  695.                       }
  696.  
  697.                     }
  698.  
  699.                     translation    0 -0.7 0
  700.                   }
  701.  
  702.                 }
  703.                 DEF INLINE-CONE2 Transform {
  704.                   children    Shape {
  705.                     appearance    Appearance {
  706.                       material    Material {
  707.                     diffuseColor    0 1 0.5
  708.                       }
  709.  
  710.                     }
  711.  
  712.                     geometry    Cone {
  713.                     }
  714.  
  715.                   }
  716.  
  717.                   translation    0 -0.7 0
  718.                 }
  719.                   ]
  720.                 }
  721.  
  722.                 rotation    1 0 0  3.14
  723.                 scale    1.4 0.5 1.4
  724.               }
  725.               DEF REFL-CONE-BOUNCER PositionInterpolator {
  726.                 key    [ 0, 0.04, 0.1, 0.2,
  727.                       0.3, 0.4, 0.5, 0.6,
  728.                       0.7, 0.8, 0.9, 0.96,
  729.                       1 ]
  730.                 keyValue    [ 0 0 0,
  731.                       0 -0.66 0,
  732.                       0 -1.664 0,
  733.                       0 -3.036 0,
  734.                       0 -4.016 0,
  735.                       0 -4.604 0,
  736.                       0 -4.8 0,
  737.                       0 -4.604 0,
  738.                       0 -4.016 0,
  739.                       0 -3.036 0,
  740.                       0 -1.664 0,
  741.                       0 -0.66 0,
  742.                       0 0 0 ]
  743.               }
  744.             ]
  745.             translation    0 0 0
  746.               }
  747.               DEF REFL-CONE-SHUTTLER PositionInterpolator {
  748.             key    [ 0, 0.125, 0.25, 0.375,
  749.                   0.5, 0.625, 0.75, 0.875,
  750.                   1 ]
  751.             keyValue    [ 0 0 0,
  752.                   -1 0 1,
  753.                   -2 0 2,
  754.                   0 0 6,
  755.                   2 0 10,
  756.                   4 0 8,
  757.                   6 0 6,
  758.                   3 0 3,
  759.                   0 0 0 ]
  760.               }
  761.             ]
  762.             translation    0 0 0
  763.           }
  764.  
  765.           translation    -3 -1.67 -2
  766.         }
  767.         DEF REFL-BALL-ROOT Transform {
  768.           children    DEF REFL-BALL-XFORM-SHUTTLE Transform {
  769.             children    [
  770.               DEF REFL-BALL-SHUTTLER PositionInterpolator {
  771.             key    [ 0, 0.125, 0.25, 0.375,
  772.                   0.5, 0.625, 0.75, 0.875,
  773.                   1 ]
  774.             keyValue    [ 0 0 0,
  775.                   2 0 0,
  776.                   4 0 0,
  777.                   6 0 0,
  778.                   8 0 0,
  779.                   6 0 0,
  780.                   4 0 0,
  781.                   2 0 0,
  782.                   0 0 0 ]
  783.               }
  784.               DEF REFL-BALL-XFORM-BOUNCE Transform {
  785.             children    [
  786.               DEF REFL-BALL-BOUNCER PositionInterpolator {
  787.                 key    [ 0, 0.04, 0.1, 0.2,
  788.                       0.3, 0.4, 0.5, 0.6,
  789.                       0.7, 0.8, 0.9, 0.96,
  790.                       1 ]
  791.                 keyValue    [ 0 0 0,
  792.                       0 -0.66 0,
  793.                       0 -1.664 0,
  794.                       0 -3.036 0,
  795.                       0 -4.016 0,
  796.                       0 -4.604 0,
  797.                       0 -4.8 0,
  798.                       0 -4.604 0,
  799.                       0 -4.016 0,
  800.                       0 -3.036 0,
  801.                       0 -1.664 0,
  802.                       0 -0.66 0,
  803.                       0 0 0 ]
  804.               }
  805.               DEF REFL-BALL-DEFORM-XFORM Transform {
  806.                 children    DEF REFL-BALL-SWITCH Switch {
  807.                   whichChoice    0
  808.                   choice    [
  809.                 DEF INLINE-BALL0 Transform {
  810.                   children    Shape {
  811.                     appearance    Appearance {
  812.                       material    Material {
  813.                     diffuseColor    1 0 0
  814.                     specularColor    0.2 0.2 0.2
  815.                       }
  816.  
  817.                     }
  818.  
  819.                     geometry    Sphere {
  820.                     }
  821.  
  822.                   }
  823.  
  824.                   translation    0 -0.2 0
  825.                 }
  826.                 DEF INLINE-BALL1 Transform {
  827.                   children    [
  828.                     DEF EYEBALL-TIMER TimeSensor {
  829.                       cycleInterval    16
  830.                       loop    TRUE
  831.                       startTime    1
  832.                       stopTime    0
  833.                     }
  834.                     DEF EYEBALL-ENGINE OrientationInterpolator {
  835.                       key    [ 0, 0.5, 1 ]
  836.                       keyValue    [ 0 0 1  0,
  837.                             0 1 0  3.14,
  838.                             0 1 0  6.28002 ]
  839.                     }
  840.                     Group {
  841.                       children    DEF EYEBALL-XFORM Transform {
  842.                     children    Shape {
  843.                       appearance    Appearance {
  844.                         material    Material {
  845.                           ambientIntensity    0.2
  846.                           diffuseColor    1 1 1
  847.                           specularColor    1 1 1
  848.                           emissiveColor    0 0 0
  849.                           shininess    1
  850.                           transparency    0
  851.                         }
  852.  
  853.                         texture    ImageTexture {
  854.                           url    "eye.jpg"
  855.                         }
  856.  
  857.                         textureTransform    TextureTransform {
  858.                           translation    0 0
  859.                           rotation    0
  860.                           scale    1.2386 0.579668
  861.                           center    0.5 0.5
  862.                         }
  863.  
  864.                       }
  865.  
  866.                       geometry    Sphere {
  867.                       }
  868.  
  869.                     }
  870.  
  871.                     translation    0 -0.2 0
  872.                     rotation    0 0 1  0
  873.                       }
  874.  
  875.                     }
  876.                   ]
  877.                 }
  878.                 DEF INLINE-BALL2 Transform {
  879.                   children    Shape {
  880.                     appearance    Appearance {
  881.                       material    Material {
  882.                     diffuseColor    0.5 0 1
  883.                     specularColor    0.2 0.2 0.2
  884.                       }
  885.  
  886.                     }
  887.  
  888.                     geometry    Sphere {
  889.                     }
  890.  
  891.                   }
  892.  
  893.                   translation    0 -0.2 0
  894.                 }
  895.                   ]
  896.                 }
  897.  
  898.                 scale    1.3 0.7 1.3
  899.               }
  900.             ]
  901.             translation    0 0 0
  902.               }
  903.             ]
  904.             translation    0 0 0
  905.           }
  906.  
  907.           translation    0 -1.4 0
  908.           #rotation    0 -1 0  0.78
  909.         }
  910.         DEF ROOM-FLOOR-ROOT Transform {
  911.           children              DEF ROOM-FLOOR Transform {
  912.             children    [
  913.               DEF SWITCH-LOGIC Script {
  914.             eventOut            SFInt32            floorChoice
  915.             eventOut            SFInt32            leftWallChoice
  916.             eventOut            SFInt32            rightWallChoice
  917.             eventOut            SFInt32            leftWallReflChoice
  918.             eventOut            SFInt32            rightWallReflChoice
  919.             eventIn            SFBool            floorTriggerIn
  920.             eventIn            SFBool            leftWallTriggerIn
  921.             eventIn            SFBool            rightWallTriggerIn
  922.             eventIn            SFTime            proxEnteredTime
  923.             eventIn            SFTime            proxExitTime
  924.             field            SFInt32            floorState    0
  925.             field            SFInt32            leftWallState    0
  926.             field            SFInt32            rightWallState    0
  927.             url    "vrmlscript:
  928.  
  929.     function floorTriggerIn(isActive) {
  930.         if (isActive) 
  931.         floorState = floorState + 1;
  932.         if (floorState >= 6) 
  933.         floorState = 0;
  934.         floorChoice = floorState;
  935.     }
  936.  
  937.         function leftWallTriggerIn(isActive) {
  938.             if (isActive) 
  939.                 leftWallState = leftWallState + 1;
  940.             if (leftWallState >= 6) 
  941.                 leftWallState = 0;
  942.             leftWallChoice = leftWallState;
  943.         }
  944.  
  945.         function rightWallTriggerIn(isActive) {
  946.             if (isActive) 
  947.                 rightWallState = rightWallState + 1;
  948.             if (rightWallState >= 6) 
  949.                 rightWallState = 0;
  950.             rightWallChoice = rightWallState;
  951.         }
  952.     
  953. function proxEnteredTime(value, time)
  954. {
  955.         leftWallReflChoice = -1;
  956.     rightWallReflChoice = -1;
  957. }
  958.  
  959. function proxExitTime(value, time)
  960. {
  961.     leftWallReflChoice = leftWallState;
  962.     rightWallReflChoice = rightWallState;
  963. }
  964. "
  965.               }
  966.               Group {
  967.             children    [
  968.               Transform {
  969.                 children    Shape {
  970.                   appearance    Appearance {
  971.                 material    Material {
  972.                   ambientIntensity    0
  973.                   diffuseColor    0 0 0
  974.                   specularColor    0 0 0
  975.                   emissiveColor    0 0 0
  976.                   shininess    0
  977.                   transparency    0
  978.                 }
  979.  
  980.                   }
  981.  
  982.                   geometry    IndexedFaceSet {
  983.                 coord    Coordinate {
  984.                   point    [ -1 1 1,
  985.                         -1 -1 1,
  986.                         1 1 1,
  987.                         1 -1 1,
  988.                         1 1 -1,
  989.                         1 -1 -1,
  990.                         -1 1 -1,
  991.                         -1 -1 -1 ]
  992.                 }
  993.  
  994.                 coordIndex    [ 0, 1, 3, 2, -1, 4, 5, 7,
  995.                       6, -1, 6, 7, 1, 0, -1, 2,
  996.                       3, 5, 4, -1, 1, 7, 5, 3,
  997.                       -1 ]
  998.                   }
  999.  
  1000.                 }
  1001.  
  1002.                 translation    -0.0620249 -6.77444 -0.0692099
  1003.                 rotation    0 0 1  0
  1004.                 scale    12.059 6.07399 12.0643
  1005.               }
  1006.               Transform {
  1007.                 children    [
  1008.                   Transform {
  1009.                 children    [
  1010.                   DEF FLOOR-TRIGGER TouchSensor {
  1011.                   }
  1012.                   DEF FLOOR-SWITCH Switch {
  1013.                     whichChoice    0
  1014.                     choice    [
  1015.                       DEF CHECKER-FLOOR-ROOT Group {
  1016.                     children    Transform {
  1017.                       children    [
  1018.                         Shape {
  1019.                           appearance    Appearance {
  1020.                         material    Material {
  1021.                           ambientIntensity    1
  1022.                           diffuseColor    1 1 1
  1023.                           specularColor    0 0 0
  1024.                           emissiveColor    0 0 0
  1025.                           shininess    0.765957
  1026.                           transparency    0.21
  1027.                         }
  1028.  
  1029.                           }
  1030.  
  1031.                           geometry    DEF CHECKERFLOOR-IFS IndexedFaceSet {
  1032.                         coord    Coordinate {
  1033.                           point    [ 10 -0.7 10,
  1034.                                 -10 -0.7 -10,
  1035.                                 0 -0.7 -10,
  1036.                                 0 -0.7 10,
  1037.                                 0 -0.7 0,
  1038.                                 -10 -0.7 0,
  1039.                                 10 -0.7 0,
  1040.                                 -10 -0.7 -5,
  1041.                                 0 -0.7 -5,
  1042.                                 -5 -0.7 -5,
  1043.                                 -5 -0.7 0,
  1044.                                 -5 -0.7 -10,
  1045.                                 5 -0.7 -10,
  1046.                                 5 -0.7 0,
  1047.                                 5 -0.7 -5,
  1048.                                 10 -0.7 -5,
  1049.                                 -5 -0.7 10,
  1050.                                 -5 -0.7 5,
  1051.                                 0 -0.7 5,
  1052.                                 -10 -0.7 5,
  1053.                                 5 -0.7 10,
  1054.                                 5 -0.7 5,
  1055.                                 10 -0.7 5,
  1056.                                 -10 -0.7 -7.5,
  1057.                                 -5 -0.7 -7.5,
  1058.                                 -7.5 -0.7 -7.5,
  1059.                                 -7.5 -0.7 -5,
  1060.                                 -7.5 -0.7 -10,
  1061.                                 0 -0.7 -7.5,
  1062.                                 -2.5 -0.7 -7.5,
  1063.                                 -2.5 -0.7 -5,
  1064.                                 -2.5 -0.7 -10,
  1065.                                 5 -0.7 -7.5,
  1066.                                 2.5 -0.7 -7.5,
  1067.                                 2.5 -0.7 -5,
  1068.                                 2.5 -0.7 -10,
  1069.                                 7.5 -0.7 -10,
  1070.                                 7.5 -0.7 -5,
  1071.                                 7.5 -0.7 -7.5,
  1072.                                 10 -0.7 -7.5,
  1073.                                 -7.5 -0.7 0,
  1074.                                 -7.5 -0.7 -2.5,
  1075.                                 -5 -0.7 -2.5,
  1076.                                 -10 -0.7 -2.5,
  1077.                                 -7.5 -0.7 10,
  1078.                                 -7.5 -0.7 5,
  1079.                                 -7.5 -0.7 7.5,
  1080.                                 -5 -0.7 7.5,
  1081.                                 -10 -0.7 7.5,
  1082.                                 -7.5 -0.7 2.5,
  1083.                                 -5 -0.7 2.5,
  1084.                                 -10 -0.7 2.5,
  1085.                                 0 -0.7 -2.5,
  1086.                                 -2.5 -0.7 -2.5,
  1087.                                 -2.5 -0.7 0,
  1088.                                 2.5 -0.7 0,
  1089.                                 2.5 -0.7 -2.5,
  1090.                                 5 -0.7 -2.5,
  1091.                                 7.5 -0.7 0,
  1092.                                 7.5 -0.7 -2.5,
  1093.                                 10 -0.7 -2.5,
  1094.                                 0 -0.7 7.5,
  1095.                                 -2.5 -0.7 7.5,
  1096.                                 -2.5 -0.7 5,
  1097.                                 -2.5 -0.7 10,
  1098.                                 -2.5 -0.7 2.5,
  1099.                                 0 -0.7 2.5,
  1100.                                 5 -0.7 2.5,
  1101.                                 2.5 -0.7 2.5,
  1102.                                 2.5 -0.7 5,
  1103.                                 7.5 -0.7 5,
  1104.                                 7.5 -0.7 2.5,
  1105.                                 10 -0.7 2.5,
  1106.                                 2.5 -0.7 10,
  1107.                                 2.5 -0.7 7.5,
  1108.                                 5 -0.7 7.5,
  1109.                                 7.5 -0.7 10,
  1110.                                 7.5 -0.7 7.5,
  1111.                                 10 -0.7 7.5 ]
  1112.                         }
  1113.  
  1114.                         coordIndex    [ 26, 9, 24, 25, -1, 27, 1, 23,
  1115.                               25, -1, 30, 8, 28, 29, -1, 31,
  1116.                               11, 24, 29, -1, 34, 14, 32, 33,
  1117.                               -1, 35, 2, 28, 33, -1, 36, 12,
  1118.                               32, 38, -1, 15, 39, 38, 37, -1,
  1119.                               40, 10, 42, 41, -1, 7, 43, 41,
  1120.                               26, -1, 44, 16, 47, 46, -1, 19,
  1121.                               48, 46, 45, -1, 45, 17, 50, 49,
  1122.                               -1, 5, 51, 49, 40, -1, 30, 9,
  1123.                               42, 53, -1, 54, 4, 52, 53, -1,
  1124.                               55, 13, 57, 56, -1, 8, 52, 56,
  1125.                               34, -1, 37, 14, 57, 59, -1, 6,
  1126.                               60, 59, 58, -1, 63, 17, 47, 62,
  1127.                               -1, 64, 3, 61, 62, -1, 54, 10,
  1128.                               50, 65, -1, 18, 66, 65, 63, -1,
  1129.                               69, 21, 67, 68, -1, 55, 4, 66,
  1130.                               68, -1, 58, 13, 67, 71, -1, 22,
  1131.                               72, 71, 70, -1, 73, 20, 75, 74,
  1132.                               -1, 18, 61, 74, 69, -1, 70, 21,
  1133.                               75, 77, -1, 0, 78, 77, 76, -1 ]
  1134.                         colorIndex    [  ]
  1135.                           }
  1136.  
  1137.                         }
  1138.                         Transform {
  1139.                           children    Shape {
  1140.                         appearance    Appearance {
  1141.                           material    Material {
  1142.                             ambientIntensity    0
  1143.                             diffuseColor    0 0 0
  1144.                             specularColor    0.189076 0.189076 0.189076
  1145.                             emissiveColor    0 0 0
  1146.                             shininess    1
  1147.                             transparency    0.21
  1148.                           }
  1149.  
  1150.                         }
  1151.  
  1152.                         geometry    USE CHECKERFLOOR-IFS
  1153.  
  1154.                           }
  1155.  
  1156.                           translation    0 0 0
  1157.                           rotation    0 1 0  1.5708
  1158.                           scale    1 1 1
  1159.                         }
  1160.                       ]
  1161.                     }
  1162.  
  1163.                       }
  1164.                       DEF AQUA-FLOOR-ROOT Group {
  1165.                     children    Shape {
  1166.                       appearance    Appearance {
  1167.                         material    Material {
  1168.                           ambientIntensity    1
  1169.                           diffuseColor    0 1 0.557249
  1170.                           specularColor    0 0 0
  1171.                           emissiveColor    0 0 0
  1172.                           shininess    0.2
  1173.                           transparency    0.21
  1174.                         }
  1175.  
  1176.                       }
  1177.  
  1178.                       geometry    DEF PLAIN-FLOOR-IFS_47 IndexedFaceSet {
  1179.                         coord    Coordinate {
  1180.                           point    [ 10 -0.7 10,
  1181.                                 10 -0.7 -10,
  1182.                                 -10 -0.7 -10,
  1183.                                 -10 -0.7 10,
  1184.                                 0 -0.7 -10,
  1185.                                 0 -0.7 10,
  1186.                                 0 -0.7 0,
  1187.                                 -10 -0.7 0,
  1188.                                 10 -0.7 0,
  1189.                                 -10 -0.7 -5,
  1190.                                 0 -0.7 -5,
  1191.                                 -5 -0.7 -5,
  1192.                                 -5 -0.7 0,
  1193.                                 -5 -0.7 -10,
  1194.                                 5 -0.7 -10,
  1195.                                 5 -0.7 0,
  1196.                                 5 -0.7 -5,
  1197.                                 10 -0.7 -5,
  1198.                                 -5 -0.7 10,
  1199.                                 -5 -0.7 5,
  1200.                                 0 -0.7 5,
  1201.                                 -10 -0.7 5,
  1202.                                 5 -0.7 10,
  1203.                                 5 -0.7 5,
  1204.                                 10 -0.7 5,
  1205.                                 -10 -0.7 -7.5,
  1206.                                 -5 -0.7 -7.5,
  1207.                                 -7.5 -0.7 -7.5,
  1208.                                 -7.5 -0.7 -5,
  1209.                                 -7.5 -0.7 -10,
  1210.                                 0 -0.7 -7.5,
  1211.                                 -2.5 -0.7 -7.5,
  1212.                                 -2.5 -0.7 -5,
  1213.                                 -2.5 -0.7 -10,
  1214.                                 5 -0.7 -7.5,
  1215.                                 2.5 -0.7 -7.5,
  1216.                                 2.5 -0.7 -5,
  1217.                                 2.5 -0.7 -10,
  1218.                                 7.5 -0.7 -10,
  1219.                                 7.5 -0.7 -5,
  1220.                                 7.5 -0.7 -7.5,
  1221.                                 10 -0.7 -7.5,
  1222.                                 -7.5 -0.7 0,
  1223.                                 -7.5 -0.7 -2.5,
  1224.                                 -5 -0.7 -2.5,
  1225.                                 -10 -0.7 -2.5,
  1226.                                 -7.5 -0.7 10,
  1227.                                 -7.5 -0.7 5,
  1228.                                 -7.5 -0.7 7.5,
  1229.                                 -5 -0.7 7.5,
  1230.                                 -10 -0.7 7.5,
  1231.                                 -7.5 -0.7 2.5,
  1232.                                 -5 -0.7 2.5,
  1233.                                 -10 -0.7 2.5,
  1234.                                 0 -0.7 -2.5,
  1235.                                 -2.5 -0.7 -2.5,
  1236.                                 -2.5 -0.7 0,
  1237.                                 2.5 -0.7 0,
  1238.                                 2.5 -0.7 -2.5,
  1239.                                 5 -0.7 -2.5,
  1240.                                 7.5 -0.7 0,
  1241.                                 7.5 -0.7 -2.5,
  1242.                                 10 -0.7 -2.5,
  1243.                                 0 -0.7 7.5,
  1244.                                 -2.5 -0.7 7.5,
  1245.                                 -2.5 -0.7 5,
  1246.                                 -2.5 -0.7 10,
  1247.                                 -2.5 -0.7 2.5,
  1248.                                 0 -0.7 2.5,
  1249.                                 5 -0.7 2.5,
  1250.                                 2.5 -0.7 2.5,
  1251.                                 2.5 -0.7 5,
  1252.                                 7.5 -0.7 5,
  1253.                                 7.5 -0.7 2.5,
  1254.                                 10 -0.7 2.5,
  1255.                                 2.5 -0.7 10,
  1256.                                 2.5 -0.7 7.5,
  1257.                                 5 -0.7 7.5,
  1258.                                 7.5 -0.7 10,
  1259.                                 7.5 -0.7 7.5,
  1260.                                 10 -0.7 7.5 ]
  1261.                         }
  1262.  
  1263.                         coordIndex    [ 25, 9, 28, 27, -1, 28, 11, 26,
  1264.                               27, -1, 13, 29, 27, 26, -1, 29,
  1265.                               2, 25, 27, -1, 26, 11, 32, 31,
  1266.                               -1, 32, 10, 30, 31, -1, 4, 33,
  1267.                               31, 30, -1, 33, 13, 26, 31, -1,
  1268.                               30, 10, 36, 35, -1, 36, 16, 34,
  1269.                               35, -1, 14, 37, 35, 34, -1, 37,
  1270.                               4, 30, 35, -1, 38, 14, 34, 40,
  1271.                               -1, 34, 16, 39, 40, -1, 17, 41,
  1272.                               40, 39, -1, 41, 1, 38, 40, -1,
  1273.                               42, 12, 44, 43, -1, 44, 11, 28,
  1274.                               43, -1, 9, 45, 43, 28, -1, 45,
  1275.                               7, 42, 43, -1, 46, 18, 49, 48,
  1276.                               -1, 49, 19, 47, 48, -1, 21, 50,
  1277.                               48, 47, -1, 50, 3, 46, 48, -1,
  1278.                               47, 19, 52, 51, -1, 52, 12, 42,
  1279.                               51, -1, 7, 53, 51, 42, -1, 53,
  1280.                               21, 47, 51, -1, 54, 10, 32, 55,
  1281.                               -1, 32, 11, 44, 55, -1, 12, 56,
  1282.                               55, 44, -1, 56, 6, 54, 55, -1,
  1283.                               57, 15, 59, 58, -1, 59, 16, 36,
  1284.                               58, -1, 10, 54, 58, 36, -1, 54,
  1285.                               6, 57, 58, -1, 39, 16, 59, 61,
  1286.                               -1, 59, 15, 60, 61, -1, 8, 62,
  1287.                               61, 60, -1, 62, 17, 39, 61, -1,
  1288.                               63, 20, 65, 64, -1, 65, 19, 49,
  1289.                               64, -1, 18, 66, 64, 49, -1, 66,
  1290.                               5, 63, 64, -1, 56, 12, 52, 67,
  1291.                               -1, 52, 19, 65, 67, -1, 20, 68,
  1292.                               67, 65, -1, 68, 6, 56, 67, -1,
  1293.                               68, 20, 71, 70, -1, 71, 23, 69,
  1294.                               70, -1, 15, 57, 70, 69, -1, 57,
  1295.                               6, 68, 70, -1, 60, 15, 69, 73,
  1296.                               -1, 69, 23, 72, 73, -1, 24, 74,
  1297.                               73, 72, -1, 74, 8, 60, 73, -1,
  1298.                               75, 22, 77, 76, -1, 77, 23, 71,
  1299.                               76, -1, 20, 63, 76, 71, -1, 63,
  1300.                               5, 75, 76, -1, 72, 23, 77, 79,
  1301.                               -1, 77, 22, 78, 79, -1, 0, 80,
  1302.                               79, 78, -1, 80, 24, 72, 79, -1 ]
  1303.                         colorIndex    [  ]
  1304.                       }
  1305.  
  1306.                     }
  1307.  
  1308.                       }
  1309.                       DEF WHITE-FLOOR-ROOT Group {
  1310.                     children    Shape {
  1311.                       appearance    Appearance {
  1312.                         material    Material {
  1313.                           ambientIntensity    1
  1314.                           diffuseColor    1 1 1
  1315.                           specularColor    0 0 0
  1316.                           emissiveColor    0 0 0
  1317.                           shininess    0.2
  1318.                           transparency    0.21
  1319.                         }
  1320.  
  1321.                       }
  1322.  
  1323.                       geometry    USE PLAIN-FLOOR-IFS_47
  1324.  
  1325.                     }
  1326.  
  1327.                       }
  1328.                       DEF WOOD-TILE-ROOT Group {
  1329.                     children    Shape {
  1330.                       appearance    Appearance {
  1331.                         material    Material {
  1332.                           ambientIntensity    1
  1333.                           diffuseColor    1 1 1
  1334.                           specularColor    0 0 0
  1335.                           emissiveColor    0 0 0
  1336.                           shininess    0.2
  1337.                           transparency    0.21
  1338.                         }
  1339.  
  1340.                         texture    ImageTexture {
  1341.                           url    "pqb1288_.jpg"
  1342.                         }
  1343.  
  1344.                         textureTransform    TextureTransform {
  1345.                           scale    3 3
  1346.                         }
  1347.  
  1348.                       }
  1349.  
  1350.                       geometry    USE PLAIN-FLOOR-IFS_47
  1351.  
  1352.                     }
  1353.  
  1354.                       }
  1355.                       DEF RICH-WOOD-ROOT Group {
  1356.                     children    Shape {
  1357.                       appearance    Appearance {
  1358.                         material    Material {
  1359.                           ambientIntensity    1
  1360.                           diffuseColor    1 1 1
  1361.                           specularColor    0 0 0
  1362.                           emissiveColor    0 0 0
  1363.                           shininess    0.2
  1364.                           transparency    0.21
  1365.                         }
  1366.  
  1367.                         texture    ImageTexture {
  1368.                           url    "mb_1288_.jpg"
  1369.                         }
  1370.  
  1371.                         textureTransform    TextureTransform {
  1372.                           scale    3 3
  1373.                         }
  1374.  
  1375.                       }
  1376.  
  1377.                       geometry    USE PLAIN-FLOOR-IFS_47
  1378.  
  1379.                     }
  1380.  
  1381.                       }
  1382.                       DEF MARBLE-ROOT Group {
  1383.                     children    Shape {
  1384.                       appearance    Appearance {
  1385.                         material    Material {
  1386.                           ambientIntensity    1
  1387.                           diffuseColor    1 1 1
  1388.                           specularColor    0 0 0
  1389.                           emissiveColor    0 0 0
  1390.                           shininess    0.2
  1391.                           transparency    0.21
  1392.                         }
  1393.  
  1394.                         texture    ImageTexture {
  1395.                           url    "abrozzo.jpg"
  1396.                         }
  1397.  
  1398.                         textureTransform    TextureTransform {
  1399.                           scale    3 3
  1400.                         }
  1401.  
  1402.                       }
  1403.  
  1404.                       geometry    USE PLAIN-FLOOR-IFS_47
  1405.  
  1406.                     }
  1407.  
  1408.                       }
  1409.                     ]
  1410.                   }
  1411.                 ]
  1412.                   }
  1413.                   Transform {
  1414.                 children    [
  1415.                   DEF LEFT-WALL-TRIGGER TouchSensor {
  1416.                   }
  1417.                   DEF LEFT-WALL-SWITCH Switch {
  1418.                     whichChoice    0
  1419.                     choice    [
  1420.                       DEF WALL0-RED Shape {
  1421.                     appearance    Appearance {
  1422.                       material    Material {
  1423.                         diffuseColor    1 0 0
  1424.                       }
  1425.  
  1426.                     }
  1427.  
  1428.                     geometry    DEF LEFT-WALL-IFS IndexedFaceSet {
  1429.                       coord    Coordinate {
  1430.                         point    [ 10 -0.7 10,
  1431.                               10 -0.7 -10,
  1432.                               -10 -0.7 -10,
  1433.                               -10 -0.7 10,
  1434.                               0 -0.7 -10,
  1435.                               0 -0.7 10,
  1436.                               0 -0.7 0,
  1437.                               -10 -0.7 0,
  1438.                               10 -0.7 0,
  1439.                               -10 -0.7 -5,
  1440.                               0 -0.7 -5,
  1441.                               -5 -0.7 -5,
  1442.                               -5 -0.7 0,
  1443.                               -5 -0.7 -10,
  1444.                               5 -0.7 -10,
  1445.                               5 -0.7 0,
  1446.                               5 -0.7 -5,
  1447.                               10 -0.7 -5,
  1448.                               -5 -0.7 10,
  1449.                               -5 -0.7 5,
  1450.                               0 -0.7 5,
  1451.                               -10 -0.7 5,
  1452.                               5 -0.7 10,
  1453.                               5 -0.7 5,
  1454.                               10 -0.7 5,
  1455.                               -10 -0.7 -7.5,
  1456.                               -5 -0.7 -7.5,
  1457.                               -7.5 -0.7 -7.5,
  1458.                               -7.5 -0.7 -5,
  1459.                               -7.5 -0.7 -10,
  1460.                               0 -0.7 -7.5,
  1461.                               -2.5 -0.7 -7.5,
  1462.                               -2.5 -0.7 -5,
  1463.                               -2.5 -0.7 -10,
  1464.                               5 -0.7 -7.5,
  1465.                               2.5 -0.7 -7.5,
  1466.                               2.5 -0.7 -5,
  1467.                               2.5 -0.7 -10,
  1468.                               7.5 -0.7 -10,
  1469.                               7.5 -0.7 -5,
  1470.                               7.5 -0.7 -7.5,
  1471.                               10 -0.7 -7.5,
  1472.                               -7.5 -0.7 0,
  1473.                               -7.5 -0.7 -2.5,
  1474.                               -5 -0.7 -2.5,
  1475.                               -10 -0.7 -2.5,
  1476.                               -7.5 -0.7 10,
  1477.                               -7.5 -0.7 5,
  1478.                               -7.5 -0.7 7.5,
  1479.                               -5 -0.7 7.5,
  1480.                               -10 -0.7 7.5,
  1481.                               -7.5 -0.7 2.5,
  1482.                               -5 -0.7 2.5,
  1483.                               -10 -0.7 2.5,
  1484.                               0 -0.7 -2.5,
  1485.                               -2.5 -0.7 -2.5,
  1486.                               -2.5 -0.7 0,
  1487.                               2.5 -0.7 0,
  1488.                               2.5 -0.7 -2.5,
  1489.                               5 -0.7 -2.5,
  1490.                               7.5 -0.7 0,
  1491.                               7.5 -0.7 -2.5,
  1492.                               10 -0.7 -2.5,
  1493.                               0 -0.7 7.5,
  1494.                               -2.5 -0.7 7.5,
  1495.                               -2.5 -0.7 5,
  1496.                               -2.5 -0.7 10,
  1497.                               -2.5 -0.7 2.5,
  1498.                               0 -0.7 2.5,
  1499.                               5 -0.7 2.5,
  1500.                               2.5 -0.7 2.5,
  1501.                               2.5 -0.7 5,
  1502.                               7.5 -0.7 5,
  1503.                               7.5 -0.7 2.5,
  1504.                               10 -0.7 2.5,
  1505.                               2.5 -0.7 10,
  1506.                               2.5 -0.7 7.5,
  1507.                               5 -0.7 7.5,
  1508.                               7.5 -0.7 10,
  1509.                               7.5 -0.7 7.5,
  1510.                               10 -0.7 7.5 ]
  1511.                       }
  1512.  
  1513.                       coordIndex    [ 25, 9, 28, 27, -1, 28, 11, 26,
  1514.                             27, -1, 13, 29, 27, 26, -1, 29,
  1515.                             2, 25, 27, -1, 26, 11, 32, 31,
  1516.                             -1, 32, 10, 30, 31, -1, 4, 33,
  1517.                             31, 30, -1, 33, 13, 26, 31, -1,
  1518.                             30, 10, 36, 35, -1, 36, 16, 34,
  1519.                             35, -1, 14, 37, 35, 34, -1, 37,
  1520.                             4, 30, 35, -1, 38, 14, 34, 40,
  1521.                             -1, 34, 16, 39, 40, -1, 17, 41,
  1522.                             40, 39, -1, 41, 1, 38, 40, -1,
  1523.                             42, 12, 44, 43, -1, 44, 11, 28,
  1524.                             43, -1, 9, 45, 43, 28, -1, 45,
  1525.                             7, 42, 43, -1, 46, 18, 49, 48,
  1526.                             -1, 49, 19, 47, 48, -1, 21, 50,
  1527.                             48, 47, -1, 50, 3, 46, 48, -1,
  1528.                             47, 19, 52, 51, -1, 52, 12, 42,
  1529.                             51, -1, 7, 53, 51, 42, -1, 53,
  1530.                             21, 47, 51, -1, 54, 10, 32, 55,
  1531.                             -1, 32, 11, 44, 55, -1, 12, 56,
  1532.                             55, 44, -1, 56, 6, 54, 55, -1,
  1533.                             57, 15, 59, 58, -1, 59, 16, 36,
  1534.                             58, -1, 10, 54, 58, 36, -1, 54,
  1535.                             6, 57, 58, -1, 39, 16, 59, 61,
  1536.                             -1, 59, 15, 60, 61, -1, 8, 62,
  1537.                             61, 60, -1, 62, 17, 39, 61, -1,
  1538.                             63, 20, 65, 64, -1, 65, 19, 49,
  1539.                             64, -1, 18, 66, 64, 49, -1, 66,
  1540.                             5, 63, 64, -1, 56, 12, 52, 67,
  1541.                             -1, 52, 19, 65, 67, -1, 20, 68,
  1542.                             67, 65, -1, 68, 6, 56, 67, -1,
  1543.                             68, 20, 71, 70, -1, 71, 23, 69,
  1544.                             70, -1, 15, 57, 70, 69, -1, 57,
  1545.                             6, 68, 70, -1, 60, 15, 69, 73,
  1546.                             -1, 69, 23, 72, 73, -1, 24, 74,
  1547.                             73, 72, -1, 74, 8, 60, 73, -1,
  1548.                             75, 22, 77, 76, -1, 77, 23, 71,
  1549.                             76, -1, 20, 63, 76, 71, -1, 63,
  1550.                             5, 75, 76, -1, 72, 23, 77, 79,
  1551.                             -1, 77, 22, 78, 79, -1, 0, 80,
  1552.                             79, 78, -1, 80, 24, 72, 79, -1 ]
  1553.                     }
  1554.  
  1555.                       }
  1556.                       DEF WALL1-BLUE Shape {
  1557.                     appearance    Appearance {
  1558.                       material    Material {
  1559.                         diffuseColor    0 0 1
  1560.                       }
  1561.  
  1562.                     }
  1563.  
  1564.                     geometry    USE LEFT-WALL-IFS
  1565.  
  1566.                       }
  1567.                       DEF WALL2-WHITE Shape {
  1568.                     appearance    Appearance {
  1569.                       material    Material {
  1570.                         diffuseColor    1 1 1
  1571.                       }
  1572.  
  1573.                     }
  1574.  
  1575.                     geometry    USE LEFT-WALL-IFS
  1576.  
  1577.                       }
  1578.                       DEF WALL3-GRANITE Shape {
  1579.                     appearance    Appearance {
  1580.                       material    Material {
  1581.                         diffuseColor    1 1 1
  1582.                       }
  1583.  
  1584.                       texture    ImageTexture {
  1585.                         url    "ky_1288_.jpg"
  1586.                       }
  1587.  
  1588.                       textureTransform    TextureTransform {
  1589.                         scale    2 2
  1590.                       }
  1591.  
  1592.                     }
  1593.  
  1594.                     geometry    USE LEFT-WALL-IFS
  1595.  
  1596.                       }
  1597.                       DEF WALL4-RUST Shape {
  1598.                     appearance    Appearance {
  1599.                       material    Material {
  1600.                         diffuseColor    1 1 1
  1601.                       }
  1602.  
  1603.                       texture    ImageTexture {
  1604.                         url    "tg2_1s8_.jpg"
  1605.                       }
  1606.  
  1607.                       textureTransform    TextureTransform {
  1608.                         scale    1.5 2.5
  1609.                       }
  1610.  
  1611.                     }
  1612.  
  1613.                     geometry    USE LEFT-WALL-IFS
  1614.  
  1615.                       }
  1616.                       DEF WALL5-SANDSTONE Shape {
  1617.                     appearance    Appearance {
  1618.                       material    Material {
  1619.                         diffuseColor    1 1 1
  1620.                         emissiveColor    0.3 0.3 0.3
  1621.                       }
  1622.  
  1623.                       texture    ImageTexture {
  1624.                         url    "hoL.jpg"
  1625.                       }
  1626.  
  1627.                       textureTransform    TextureTransform {
  1628.                         scale    2.5 2.5
  1629.                       }
  1630.  
  1631.                     }
  1632.  
  1633.                     geometry    USE LEFT-WALL-IFS
  1634.  
  1635.                       }
  1636.                     ]
  1637.                   }
  1638.                 ]
  1639.                 translation    -9.298 5.32404 0
  1640.                 rotation    0 0 -1  1.5708
  1641.                 scale    0.607226 0.999996 1
  1642.                 scaleOrientation    0 0 1  0
  1643.                   }
  1644.                   Transform {
  1645.                 children    [
  1646.                   DEF RIGHT-WALL-TRIGGER TouchSensor {
  1647.                   }
  1648.                   DEF RIGHT-WALL-SWITCH Switch {
  1649.                     whichChoice    0
  1650.                     choice    [
  1651.                       DEF WALL0-CYAN Shape {
  1652.                     appearance    Appearance {
  1653.                       material    Material {
  1654.                         diffuseColor    0 1 1
  1655.                       }
  1656.  
  1657.                     }
  1658.  
  1659.                     geometry    USE LEFT-WALL-IFS
  1660.  
  1661.                       }
  1662.                       DEF WALL1-YELLOW Shape {
  1663.                     appearance    Appearance {
  1664.                       material    Material {
  1665.                         diffuseColor    1 1 0
  1666.                       }
  1667.  
  1668.                     }
  1669.  
  1670.                     geometry    USE LEFT-WALL-IFS
  1671.  
  1672.                       }
  1673.                       DEF WALL2-WHITE_60 Shape {
  1674.                     appearance    Appearance {
  1675.                       material    Material {
  1676.                         diffuseColor    1 1 1
  1677.                       }
  1678.  
  1679.                     }
  1680.  
  1681.                     geometry    USE LEFT-WALL-IFS
  1682.  
  1683.                       }
  1684.                       DEF WALL3-CANYON Shape {
  1685.                     appearance    Appearance {
  1686.                       material    Material {
  1687.                         diffuseColor    1 1 1
  1688.                       }
  1689.  
  1690.                       texture    ImageTexture {
  1691.                         url    "isaL.jpg"
  1692.                       }
  1693.  
  1694.                     }
  1695.  
  1696.                     geometry    USE LEFT-WALL-IFS
  1697.  
  1698.                       }
  1699.                       DEF WALL4-MARBLE Shape {
  1700.                     appearance    Appearance {
  1701.                       material    Material {
  1702.                         diffuseColor    1 1 1
  1703.                       }
  1704.  
  1705.                       texture    ImageTexture {
  1706.                         url    "p1L.jpg"
  1707.                       }
  1708.  
  1709.                     }
  1710.  
  1711.                     geometry    USE LEFT-WALL-IFS
  1712.  
  1713.                       }
  1714.                       DEF WALL5-BEACH Shape {
  1715.                     appearance    Appearance {
  1716.                       material    Material {
  1717.                         diffuseColor    1 1 1
  1718.                         emissiveColor    0.3 0.3 0.3
  1719.                       }
  1720.  
  1721.                       texture    ImageTexture {
  1722.                         url    "tg2_1s8_.jpg"
  1723.                       }
  1724.  
  1725.                     }
  1726.  
  1727.                     geometry    USE LEFT-WALL-IFS
  1728.  
  1729.                       }
  1730.                     ]
  1731.                   }
  1732.                 ]
  1733.                 translation    0.010647 5.37496 -9.29706
  1734.                 rotation    -0.577349 0.577351 0.577351  4.18879
  1735.                 scale    0.607228 0.999997 1
  1736.                 scaleOrientation    -1 5.30737e-06 5.28175e-06  0.00543727
  1737.                   }
  1738.                 ]
  1739.                 scale    1.2 1 1.2
  1740.               }
  1741.               Transform {
  1742.                 children    DEF LEFT-REFL-SWITCH Switch {
  1743.                   whichChoice    0
  1744.                   choice    [
  1745.                 USE WALL0-RED
  1746.                 USE WALL1-BLUE
  1747.                 USE WALL2-WHITE_60
  1748.                 USE WALL3-GRANITE
  1749.                 USE WALL4-RUST
  1750.                 USE WALL5-SANDSTONE
  1751.                   ]
  1752.                 }
  1753.  
  1754.                 translation    -11.1934 -6.60922 -0.103659
  1755.                 rotation    0 0 1  4.71239
  1756.                 scale    0.607225 1.2 1.2
  1757.                 scaleOrientation    0 0 1  0
  1758.               }
  1759.               Transform {
  1760.                 children    DEF RIGHT-REFL-SWITCH Switch {
  1761.                   whichChoice    0
  1762.                   choice    [
  1763.                 USE WALL0-CYAN
  1764.                 USE WALL1-YELLOW
  1765.                 USE WALL2-WHITE_60
  1766.                 USE WALL3-CANYON
  1767.                 USE WALL4-MARBLE
  1768.                 USE WALL5-BEACH
  1769.                   ]
  1770.                 }
  1771.  
  1772.                 translation    -0.0185949 -6.56732 -11.1352
  1773.                 rotation    -0.57735 0.577351 0.577351  4.18879
  1774.                 scale    0.607228 1.2 1.2
  1775.                 scaleOrientation    1 -6.18271e-07 -1.01461e-08  4.71239
  1776.               }
  1777.             ]
  1778.               }
  1779.             ]
  1780.             translation    0 -0.1 0
  1781.           }
  1782.  
  1783.         }
  1784.         DEF SCENE-ROOT-XFORM Transform {
  1785.           children    [
  1786.             DEF SCENE-ROOT-TIMER TimeSensor {
  1787.               cycleInterval    25
  1788.               loop    TRUE
  1789.             }
  1790.             DEF SCENE-ROOT-ROTOR OrientationInterpolator {
  1791.               key    [ 0, 0.5, 1 ]
  1792.               keyValue    [ 0 0 1  0,
  1793.                     0 1 0  3.14,
  1794.                     0 1 0  6.28002 ]
  1795.             }
  1796.             DEF CUBE-ROOT Transform {
  1797.               children    [
  1798.             DEF CUBE-SWITCH-LOGIC Script {
  1799.               eventOut              SFInt32              cubeChoice
  1800.               eventOut              SFTime              startTime
  1801.               eventOut              SFInt32              cubeReflChoice
  1802.               eventOut              SFInt32              shadowToggler
  1803.               eventIn              SFBool              triggerActive
  1804.               eventIn              SFTime              triggerTime
  1805.               eventIn              SFTime              proxEnteredTime
  1806.               eventIn              SFTime              proxExitTime
  1807.               field              SFInt32              choiceState    0
  1808.               field              SFBool              isAnimating    FALSE
  1809.               url    "vrmlscript:
  1810.         function triggerTime(touchTime) {
  1811.             if (!isAnimating) {
  1812.                 isAnimating = TRUE;
  1813.                 startTime = touchTime;
  1814.             }
  1815.         }
  1816.  
  1817.         function triggerActive(isActive) {
  1818.             if (isActive)
  1819.                 if (isAnimating)
  1820.                     choiceState = choiceState + 1;
  1821.             if (choiceState >= 3)
  1822.                 choiceState = 0;
  1823.             cubeChoice = choiceState;
  1824.         }
  1825.     
  1826. function proxEnteredTime(value, time)
  1827. {
  1828.     cubeReflChoice = -1;
  1829.     shadowToggler = -1;
  1830. }
  1831.  
  1832. function proxExitTime(value, time)
  1833. {
  1834.     cubeReflChoice = choiceState;
  1835.     shadowToggler = 0;
  1836. }
  1837. "
  1838.             }
  1839.             DEF CUBE-SHADOW-XFORM Transform {
  1840.               children    [
  1841.                 DEF CUBE-SHADOW-DEFORMER PositionInterpolator {
  1842.                   key    [ 0, 0.04, 0.1, 0.2,
  1843.                         0.3, 0.4, 0.5, 0.6,
  1844.                         0.7, 0.8, 0.9, 0.96,
  1845.                         1 ]
  1846.                   keyValue    [ 1 1 1,
  1847.                         1.05 1 1.05,
  1848.                         1.15 1 1.15,
  1849.                         1.3 1 1.3,
  1850.                         1.5 1 1.5,
  1851.                         1.75 1 1.75,
  1852.                         1.8 1 1.8,
  1853.                         1.75 1 1.75,
  1854.                         1.5 1 1.5,
  1855.                         1.3 1 1.3,
  1856.                         1.15 1 1.15,
  1857.                         1.05 1 1.05,
  1858.                         1 1 1 ]
  1859.                 }
  1860.                 DEF CUBE-SHADOW-SWITCH Transform {
  1861.                   children    DEF CUBE-SHADOW-SWITCHER Switch {
  1862.                 whichChoice    0
  1863.                 choice    Transform {
  1864.                   children    DEF CUBE-SHADOW Transform {
  1865.                     children    Shape {
  1866.                       appearance    Appearance {
  1867.                     material    Material {
  1868.                       ambientIntensity    0
  1869.                       diffuseColor    0 0 0
  1870.                       transparency    0.21
  1871.                     }
  1872.  
  1873.                       }
  1874.  
  1875.                       geometry    IndexedFaceSet {
  1876.                     coord    Coordinate {
  1877.                       point    [ 1 0.1 -1,
  1878.                             -1 0.1 -1,
  1879.                             -1 0.1 1,
  1880.                             1 0.1 1,
  1881.                             1 100 1,
  1882.                             200 100 200,
  1883.                             -200 100 -200 ]
  1884.                     }
  1885.  
  1886.                     coordIndex    [ 0, 1, 2, 3, -1, 4, -1, 5,
  1887.                           -1, 6, -1 ]
  1888.                     solid    FALSE
  1889.                     creaseAngle    0.523599
  1890.                       }
  1891.  
  1892.                     }
  1893.  
  1894.                     translation    0 -0.8 0
  1895.                     scale    0.8 0.8 0.8
  1896.                   }
  1897.  
  1898.                   translation    0 0 0
  1899.                   scale    0.8 0.8 0.8
  1900.                 }
  1901.  
  1902.                   }
  1903.  
  1904.                 }
  1905.               ]
  1906.               translation    0 0 0
  1907.               rotation    0 0 1  0
  1908.               scale    1 1 1
  1909.             }
  1910.             DEF CUBE-XFORM-SHUTTLE Transform {
  1911.               children    [
  1912.                 DEF CUBE-SOUND-TIMER TimeSensor {
  1913.                   cycleInterval    2.5
  1914.                   loop    TRUE
  1915.                   startTime    0
  1916.                   stopTime    1
  1917.                 }
  1918.                 DEF CUBE-SOUND-SCRIPT Script {
  1919.                   eventOut                  SFTime                  modifiedTime
  1920.                   eventIn                  SFTime                  startTime
  1921.                   url    "vrmlscript:
  1922.             function startTime (time){
  1923.                modifiedTime = time - .2;
  1924.             }
  1925.  
  1926.         "
  1927.                 }
  1928.                 DEF CUBE-SHUTTLE-TIMER TimeSensor {
  1929.                   cycleInterval    10
  1930.                   loop    TRUE
  1931.                   startTime    0
  1932.                   stopTime    1
  1933.                 }
  1934.                 DEF CUBE-SHUTTLER PositionInterpolator {
  1935.                   key    [ 0, 0.125, 0.25, 0.375,
  1936.                         0.5, 0.625, 0.75, 0.875,
  1937.                         1 ]
  1938.                   keyValue    [ 0 0 0,
  1939.                         -2 0 -2,
  1940.                         -4 0 -4,
  1941.                         0 0 -5,
  1942.                         4 0 -6,
  1943.                         5 0 -4,
  1944.                         6 0 -2,
  1945.                         3 0 -1,
  1946.                         0 0 0 ]
  1947.                 }
  1948.                 Sound {
  1949.                   source    DEF CUBE-SOUND-SOURCE AudioClip {
  1950.                 url    "Sounds/cube.wav"
  1951.                 loop    FALSE
  1952.                 startTime    0
  1953.                   }
  1954.  
  1955.                   intensity    0.4
  1956.                   minFront    1
  1957.                   maxFront    50
  1958.                   minBack    1
  1959.                   maxBack    50
  1960.                 }
  1961.                 DEF CUBE-XFORM-BOUNCE Transform {
  1962.                   children    [
  1963.                 DEF CUBE-SENSOR TouchSensor {
  1964.                 }
  1965.                 DEF CUBE-BOUNCE-TIMER TimeSensor {
  1966.                   cycleInterval    2.5
  1967.                   loop    TRUE
  1968.                   startTime    0
  1969.                   stopTime    1
  1970.                 }
  1971.                 DEF CUBE-BOUNCER PositionInterpolator {
  1972.                   key    [ 0, 0.04, 0.1, 0.2,
  1973.                         0.3, 0.4, 0.5, 0.6,
  1974.                         0.7, 0.8, 0.9, 0.96,
  1975.                         1 ]
  1976.                   keyValue    [ 0 0 0,
  1977.                         0 0.66 0,
  1978.                         0 1.664 0,
  1979.                         0 3.036 0,
  1980.                         0 4.016 0,
  1981.                         0 4.604 0,
  1982.                         0 4.8 0,
  1983.                         0 4.604 0,
  1984.                         0 4.016 0,
  1985.                         0 3.036 0,
  1986.                         0 1.664 0,
  1987.                         0 0.66 0,
  1988.                         0 0 0 ]
  1989.                 }
  1990.                 DEF CUBE-DEFORMER PositionInterpolator {
  1991.                   key    [ 0, 0.04, 0.1, 0.2,
  1992.                         0.3, 0.4, 0.5, 0.6,
  1993.                         0.7, 0.8, 0.9, 0.96,
  1994.                         1 ]
  1995.                   keyValue    [ 1.3 0.7 1.3,
  1996.                         0.895 1.105 0.895,
  1997.                         0.92 1.08 0.92,
  1998.                         0.955 1.045 0.955,
  1999.                         0.98 1.02 0.98,
  2000.                         0.995 1.005 0.995,
  2001.                         1 1 1,
  2002.                         0.995 1.005 0.995,
  2003.                         0.98 1.02 0.98,
  2004.                         0.955 1.045 0.955,
  2005.                         0.92 1.08 0.92,
  2006.                         0.895 1.105 0.895,
  2007.                         1.3 0.7 1.3 ]
  2008.                 }
  2009.                 DEF CUBE-DEFORM-XFORM Transform {
  2010.                   children    DEF CUBE-SWITCH Switch {
  2011.                     whichChoice    0
  2012.                     choice    [
  2013.                       USE INLINE-CUBE0
  2014.                       Transform {
  2015.                     children    DEF DICE-XFORM Transform {
  2016.                       children    [
  2017.                         DEF DICE-CUBE Transform {
  2018.                           children    Shape {
  2019.                         appearance    Appearance {
  2020.                           material    Material {
  2021.                             ambientIntensity    0.37234
  2022.                             diffuseColor    1 1 1
  2023.                             specularColor    0 0 0
  2024.                             emissiveColor    0 0 0
  2025.                             shininess    0.2
  2026.                             transparency    0
  2027.                           }
  2028.  
  2029.                         }
  2030.  
  2031.                         geometry    Box {
  2032.                         }
  2033.  
  2034.                           }
  2035.  
  2036.                           translation    0 -0.4 0
  2037.                           scale    0.7 0.7 0.7
  2038.                         }
  2039.                         DEF ONE Transform {
  2040.                           children    DEF _86 Transform {
  2041.                         children    Shape {
  2042.                           appearance    Appearance {
  2043.                             material    Material {
  2044.                               ambientIntensity    0
  2045.                               diffuseColor    0 0 0
  2046.                               specularColor    0 0 0
  2047.                               emissiveColor    0 0 0
  2048.                               shininess    0
  2049.                               transparency    0
  2050.                             }
  2051.  
  2052.                           }
  2053.  
  2054.                           geometry    IndexedFaceSet {
  2055.                             coord    Coordinate {
  2056.                               point    [ -0.273964 0.0103553 0.709745,
  2057.                                     -0.371403 -0.0932954 0.709745,
  2058.                                     -0.268615 -0.191044 0.709745,
  2059.                                     -0.169004 -0.0874824 0.709745 ]
  2060.                             }
  2061.  
  2062.                             coordIndex    [ 2, 0, 1, -1, 0, 2, 3, -1 ]
  2063.                             colorIndex    [  ]
  2064.                             solid    FALSE
  2065.                           }
  2066.  
  2067.                         }
  2068.  
  2069.                         translation    0.438655 -0.259008 -0.373927
  2070.                         rotation    0 0 1  0
  2071.                         scale    1.53072 1.53072 1.53072
  2072.                           }
  2073.  
  2074.                           translation    0.00330409 -0.0148406 0.0120958
  2075.                           rotation    0 -1 0  1.5708
  2076.                           scale    1 1 1
  2077.                         }
  2078.                         DEF FIVE Transform {
  2079.                           children    [
  2080.                         Transform {
  2081.                           children    USE _86
  2082.  
  2083.                           translation    0.392234 -0.395685 -0.0072127
  2084.                           rotation    0 0 1  0
  2085.                         }
  2086.                         Transform {
  2087.                           children    USE _86
  2088.  
  2089.                           translation    0.377448 0.379088 -0.0072127
  2090.                           rotation    0 0 1  0
  2091.                         }
  2092.                         Transform {
  2093.                           children    USE _86
  2094.  
  2095.                           translation    -0.397325 0.379088 -0.0072127
  2096.                           rotation    0 0 1  0
  2097.                         }
  2098.                         Transform {
  2099.                           children    USE _86
  2100.  
  2101.                           translation    -0.397325 -0.383856 -0.0072127
  2102.                           rotation    0 0 1  0
  2103.                         }
  2104.                         USE _86
  2105.                           ]
  2106.                         }
  2107.                         DEF TWO Transform {
  2108.                           children    [
  2109.                         Transform {
  2110.                           children    USE _86
  2111.  
  2112.                           translation    -0.402634 -0.411759 -0.0266201
  2113.                           rotation    -1 0 0  1.5708
  2114.                           scale    1 1 1
  2115.                         }
  2116.                         Transform {
  2117.                           children    USE _86
  2118.  
  2119.                           translation    0.355211 -0.376082 -0.797508
  2120.                           rotation    1 0 0  4.71239
  2121.                           scale    1 0.999999 0.999999
  2122.                         }
  2123.                           ]
  2124.                         }
  2125.                         DEF FOUR Transform {
  2126.                           children    [
  2127.                         Transform {
  2128.                           children    USE _86
  2129.  
  2130.                           translation    -0.00797015 0.358792 0.413702
  2131.                           rotation    0 1 0  1.5708
  2132.                           scale    1 1 1
  2133.                         }
  2134.                         Transform {
  2135.                           children    USE _86
  2136.  
  2137.                           translation    1.41994 0.362765 -0.44969
  2138.                           rotation    0 -1 0  1.57079
  2139.                           scale    1 1 1
  2140.                         }
  2141.                         Transform {
  2142.                           children    USE _86
  2143.  
  2144.                           translation    -0.00441551 -0.359312 0.411877
  2145.                           rotation    0 1 0  1.5708
  2146.                           scale    1 1 1
  2147.                         }
  2148.                         Transform {
  2149.                           children    USE _86
  2150.  
  2151.                           translation    1.42025 -0.367389 -0.445659
  2152.                           rotation    0 -1 0  1.5708
  2153.                           scale    1 0.999999 1
  2154.                         }
  2155.                           ]
  2156.                         }
  2157.                         DEF SIX Transform {
  2158.                           children    [
  2159.                         Transform {
  2160.                           children    USE _86
  2161.  
  2162.                           translation    -0.0303746 0.359532 -1.42003
  2163.                           rotation    0 0 1  0
  2164.                         }
  2165.                         Transform {
  2166.                           children    USE _86
  2167.  
  2168.                           translation    0.426891 0.36159 -1.41721
  2169.                           rotation    0 0 1  0
  2170.                         }
  2171.                         Transform {
  2172.                           children    USE _86
  2173.  
  2174.                           translation    -0.498643 0.363116 -1.41372
  2175.                           rotation    0 0 1  0
  2176.                         }
  2177.                         Transform {
  2178.                           children    USE _86
  2179.  
  2180.                           translation    -0.044123 -0.343557 -1.42939
  2181.                           rotation    0 0 1  0
  2182.                         }
  2183.                         Transform {
  2184.                           children    USE _86
  2185.  
  2186.                           translation    -0.488142 -0.353554 -1.4206
  2187.                           rotation    0 0 1  0
  2188.                         }
  2189.                         Transform {
  2190.                           children    USE _86
  2191.  
  2192.                           translation    0.431724 -0.350167 -1.4129
  2193.                           rotation    0 0 1  0
  2194.                         }
  2195.                           ]
  2196.                         }
  2197.                         DEF THREE Transform {
  2198.                           children    [
  2199.                         Transform {
  2200.                           children    USE _86
  2201.  
  2202.                           translation    0.354349 -1.8148 -0.802267
  2203.                           rotation    -1 0 0  1.5708
  2204.                           scale    0.999999 1 1
  2205.                         }
  2206.                         Transform {
  2207.                           children    USE _86
  2208.  
  2209.                           translation    -0.427804 -1.82532 -0.00819719
  2210.                           rotation    1 0 0  4.71239
  2211.                           scale    1 1 1
  2212.                         }
  2213.                         Transform {
  2214.                           children    USE _86
  2215.  
  2216.                           translation    -0.0314447 -1.82662 -0.410708
  2217.                           rotation    1 0 0  4.70911
  2218.                           scale    1 1 1
  2219.                         }
  2220.                           ]
  2221.                         }
  2222.                       ]
  2223.                       rotation    0 0 1  0
  2224.                     }
  2225.  
  2226.                       }
  2227.                       USE INLINE-CUBE2
  2228.                     ]
  2229.                   }
  2230.  
  2231.                   translation    0 -0.0280296 0
  2232.                   scale    1.3 0.7 1.3
  2233.                 }
  2234.                 DEF CUBE-LIGHT SpotLight {
  2235.                   on    FALSE
  2236.                   intensity    1
  2237.                   color    0 0 1
  2238.                   direction    0 -1 0
  2239.                   beamWidth    0.4
  2240.                   cutOffAngle    1.57
  2241.                 }
  2242.                 DEF CUBE-VP Viewpoint {
  2243.                   position    3.39478 0.928051 2.41076
  2244.                   orientation    -0.203839 0.977224 0.0590202  0.876226
  2245.                   fieldOfView    1.3
  2246.                   description    "Cube Cam"
  2247.                 }
  2248.                   ]
  2249.                   translation    0 0 0
  2250.                 }
  2251.               ]
  2252.               translation    0 0 0
  2253.             }
  2254.               ]
  2255.               translation    3 0 2
  2256.             }
  2257.             DEF CONE-ROOT Transform {
  2258.               children    [
  2259.             DEF CONE-SWITCH-LOGIC Script {
  2260.               eventOut              SFInt32              coneChoice
  2261.               eventOut              SFTime              startTime
  2262.               eventOut              SFInt32              coneReflChoice
  2263.               eventIn              SFBool              triggerActive
  2264.               eventIn              SFTime              triggerTime
  2265.               eventIn              SFTime              proxEnteredTime
  2266.               eventIn              SFTime              proxExitTime
  2267.               field              SFInt32              choiceState    0
  2268.               field              SFBool              isAnimating    FALSE
  2269.               url    "vrmlscript:
  2270.         function triggerTime(touchTime) {
  2271.             if (!isAnimating) {
  2272.                 isAnimating = TRUE;
  2273.                 startTime = touchTime;
  2274.             }
  2275.         }
  2276.  
  2277.         function triggerActive(isActive) {
  2278.             if (isActive)
  2279.                 if (isAnimating)
  2280.                     choiceState = choiceState + 1;
  2281.             if (choiceState >= 3)
  2282.                 choiceState = 0;
  2283.             coneChoice = choiceState;
  2284.         }
  2285. function proxEnteredTime(value, time)
  2286. {
  2287.     coneReflChoice = -1;
  2288. }
  2289.  
  2290. function proxExitTime(value, time)
  2291. {
  2292.     coneReflChoice = choiceState;
  2293. }
  2294.     "
  2295.             }
  2296.             DEF CONE-SHADOW-XFORM Transform {
  2297.               children    [
  2298.                 DEF CONE-SHADOW-DEFORMER PositionInterpolator {
  2299.                   key    [ 0, 0.04, 0.1, 0.2,
  2300.                         0.3, 0.4, 0.5, 0.6,
  2301.                         0.7, 0.8, 0.9, 0.96,
  2302.                         1 ]
  2303.                   keyValue    [ 1 1 1,
  2304.                         1.05 1 1.05,
  2305.                         1.15 1 1.15,
  2306.                         1.3 1 1.3,
  2307.                         1.5 1 1.5,
  2308.                         1.75 1 1.75,
  2309.                         1.8 1 1.8,
  2310.                         1.75 1 1.75,
  2311.                         1.5 1 1.5,
  2312.                         1.3 1 1.3,
  2313.                         1.15 1 1.15,
  2314.                         1.05 1 1.05,
  2315.                         1 1 1 ]
  2316.                 }
  2317.                 DEF CONE-SHADOW-SWITCH Transform {
  2318.                   children    DEF CONE-SHADOW-SWITCHER Switch {
  2319.                 whichChoice    0
  2320.                 choice    Transform {
  2321.                   children    DEF CONE-SHADOW Transform {
  2322.                     children    Shape {
  2323.                       appearance    Appearance {
  2324.                     material    DEF _DefMat Material {
  2325.                       ambientIntensity    0
  2326.                       diffuseColor    0 0 0
  2327.                       transparency    0.21
  2328.                     }
  2329.  
  2330.                       }
  2331.  
  2332.                       geometry    IndexedFaceSet {
  2333.                     coord    Coordinate {
  2334.                       point    [ 2 0.1 0,
  2335.                             1.84776 0.1 0.765366,
  2336.                             1.41421 0.1 1.41421,
  2337.                             0.765369 0.1 1.84776,
  2338.                             2.53518e-06 0.1 2,
  2339.                             -0.765364 0.1 1.84776,
  2340.                             -1.41421 0.1 1.41422,
  2341.                             -1.84776 0.1 0.765371,
  2342.                             -2 0.1 5.07036e-06,
  2343.                             -1.84776 0.1 -0.765362,
  2344.                             -1.41422 0.1 -1.41421,
  2345.                             -0.765373 0.1 -1.84776,
  2346.                             -7.60554e-06 0.1 -2,
  2347.                             0.765359 0.1 -1.84776,
  2348.                             1.41421 0.1 -1.41422,
  2349.                             1.84776 0.1 -0.765376,
  2350.                             2 0.1 0,
  2351.                             1 100 1,
  2352.                             200 100 200,
  2353.                             -200 100 -200 ]
  2354.                     }
  2355.  
  2356.                     coordIndex    [ 0, 14, 15, -1, 0, 1, 2, -1,
  2357.                           0, 2, 3, -1, 0, 3, 4, -1,
  2358.                           0, 4, 5, -1, 0, 5, 6, -1,
  2359.                           0, 6, 7, -1, 0, 7, 8, -1,
  2360.                           0, 8, 9, -1, 0, 9, 10, -1,
  2361.                           0, 10, 11, -1, 0, 11, 12, -1,
  2362.                           0, 12, 13, -1, 0, 13, 14, -1,
  2363.                           17, 18, 19, -1 ]
  2364.                     solid    FALSE
  2365.                     creaseAngle    0.523599
  2366.                       }
  2367.  
  2368.                     }
  2369.  
  2370.                     translation    0 -0.79 0
  2371.                     scale    0.5 1 0.5
  2372.                   }
  2373.  
  2374.                   translation    0 0 0
  2375.                   scale    0.9 1 0.9
  2376.                 }
  2377.  
  2378.                   }
  2379.  
  2380.                 }
  2381.               ]
  2382.               translation    0 0 0
  2383.               scale    1 1 1
  2384.             }
  2385.             DEF CONE-XFORM-SHUTTLE Transform {
  2386.               children    [
  2387.                 DEF CONE-SHUTTLE-TIMER TimeSensor {
  2388.                   cycleInterval    6
  2389.                   loop    TRUE
  2390.                   startTime    0
  2391.                   stopTime    1
  2392.                 }
  2393.                 DEF CONE-SHUTTLER PositionInterpolator {
  2394.                   key    [ 0, 0.125, 0.25, 0.375,
  2395.                         0.5, 0.625, 0.75, 0.875,
  2396.                         1 ]
  2397.                   keyValue    [ 0 0 0,
  2398.                         -1 0 1,
  2399.                         -2 0 2,
  2400.                         0 0 6,
  2401.                         2 0 10,
  2402.                         4 0 8,
  2403.                         6 0 6,
  2404.                         3 0 3,
  2405.                         0 0 0 ]
  2406.                 }
  2407.                 DEF CONE-XFORM-BOUNCE Transform {
  2408.                   children    [
  2409.                 DEF CONE-SENSOR TouchSensor {
  2410.                 }
  2411.                 DEF CONE-BOUNCE-TIMER TimeSensor {
  2412.                   cycleInterval    1.5
  2413.                   loop    TRUE
  2414.                   startTime    0
  2415.                   stopTime    1
  2416.                 }
  2417.                 DEF CONE-SOUND-TIMER TimeSensor {
  2418.                   cycleInterval    1.5
  2419.                   loop    TRUE
  2420.                   startTime    0
  2421.                   stopTime    1
  2422.                 }
  2423.                 DEF CONE-SOUND-SCRIPT Script {
  2424.                   eventOut                  SFTime                  modifiedTime
  2425.                   eventIn                  SFTime                  startTime
  2426.                   url    "vrmlscript:
  2427.             function startTime (time){
  2428.                modifiedTime = time - .495;
  2429.  
  2430.             }
  2431.  
  2432.         "
  2433.                 }
  2434.                 DEF CONE-BOUNCER PositionInterpolator {
  2435.                   key    [ 0, 0.04, 0.1, 0.2,
  2436.                         0.3, 0.4, 0.5, 0.6,
  2437.                         0.7, 0.8, 0.9, 0.96,
  2438.                         1 ]
  2439.                   keyValue    [ 0 0 0,
  2440.                         0 0.66 0,
  2441.                         0 1.664 0,
  2442.                         0 3.036 0,
  2443.                         0 4.016 0,
  2444.                         0 4.604 0,
  2445.                         0 4.8 0,
  2446.                         0 4.604 0,
  2447.                         0 4.016 0,
  2448.                         0 3.036 0,
  2449.                         0 1.664 0,
  2450.                         0 0.66 0,
  2451.                         0 0 0 ]
  2452.                 }
  2453.                 DEF CONE-DEFORMER PositionInterpolator {
  2454.                   key    [ 0, 0.06, 0.1, 0.2,
  2455.                         0.3, 0.4, 0.5, 0.6,
  2456.                         0.7, 0.8, 0.9, 0.94,
  2457.                         1 ]
  2458.                   keyValue    [ 1.4 0.5 1.4,
  2459.                         0.995 1.005 0.995,
  2460.                         0.92 1.08 0.92,
  2461.                         0.955 1.045 0.955,
  2462.                         0.98 1.02 0.98,
  2463.                         0.995 1.005 0.995,
  2464.                         1 1 1,
  2465.                         0.995 1.005 0.995,
  2466.                         0.98 1.02 0.98,
  2467.                         0.955 1.045 0.955,
  2468.                         0.92 1.08 0.92,
  2469.                         0.995 1.005 0.995,
  2470.                         1.4 0.5 1.4 ]
  2471.                 }
  2472.                 Sound {
  2473.                   source    DEF CONE-SOUND-SOURCE AudioClip {
  2474.                     url    "Sounds/cone.wav"
  2475.                     loop    FALSE
  2476.                     startTime    0
  2477.                   }
  2478.  
  2479.                   location    0 0 0
  2480.                   direction    0 0 1
  2481.                   minFront    1
  2482.                   maxFront    50
  2483.                   minBack    1
  2484.                   maxBack    50
  2485.                 }
  2486.                 DEF CONE-DEFORM-XFORM Transform {
  2487.                   children    DEF CONE-SWITCH Switch {
  2488.                     whichChoice    0
  2489.                     choice    [
  2490.                       USE INLINE-CONE0
  2491.                       USE INLINE-CONE1
  2492.                       USE INLINE-CONE2
  2493.                     ]
  2494.                   }
  2495.  
  2496.                   scale    1.4 0.5 1.4
  2497.                 }
  2498.                 DEF CONE-LIGHT SpotLight {
  2499.                   on    FALSE
  2500.                   intensity    1
  2501.                   color    0 1 0
  2502.                   direction    0 -1 0
  2503.                   beamWidth    0.4
  2504.                   cutOffAngle    1.57
  2505.                 }
  2506.                 DEF CONE-VP Viewpoint {
  2507.                   position    -2.54336 0.803519 -0.164512
  2508.                   orientation    0.2311 0.943574 0.237193  4.62841
  2509.                   fieldOfView    1.2
  2510.                   description    "Cone Cam"
  2511.                 }
  2512.                   ]
  2513.                   translation    0 0 0
  2514.                 }
  2515.               ]
  2516.               translation    0 0 0
  2517.             }
  2518.               ]
  2519.               translation    -3 0.05 -2
  2520.             }
  2521.             DEF BALL-ROOT Transform {
  2522.               children    [
  2523.             DEF BALL-SWITCH-LOGIC Script {
  2524.               eventOut              SFInt32              ballChoice
  2525.               eventOut              SFTime              startTime
  2526.               eventOut              SFInt32              ballReflChoice
  2527.               eventIn              SFBool              triggerActive
  2528.               eventIn              SFTime              triggerTime
  2529.               eventIn              SFTime              proxEnteredTime
  2530.               eventIn              SFTime              proxExitTime
  2531.               field              SFInt32              choiceState    0
  2532.               field              SFBool              isAnimating    FALSE
  2533.               url    "vrmlscript:
  2534.     function triggerTime(touchTime) {
  2535.         if (!isAnimating) {
  2536.         isAnimating = TRUE;
  2537.         startTime = touchTime;
  2538.         }
  2539.     }
  2540.  
  2541.         function triggerActive(isActive) {
  2542.             if (isActive) 
  2543.         if (isAnimating) 
  2544.             choiceState = choiceState + 1;
  2545.             if (choiceState >= 3)
  2546.                 choiceState = 0;
  2547.             ballChoice = choiceState;
  2548.         }
  2549. function proxEnteredTime(value, time)
  2550. {
  2551.     ballReflChoice = -1;
  2552. }
  2553.  
  2554. function proxExitTime(value, time)
  2555. {
  2556.     ballReflChoice = choiceState;
  2557. }
  2558.     "
  2559.             }
  2560.             DEF BALL-SHADOW-XFORM Transform {
  2561.               children    [
  2562.                 DEF BALL-SHADOW-DEFORMER PositionInterpolator {
  2563.                   key    [ 0, 0.04, 0.1, 0.2,
  2564.                         0.3, 0.4, 0.5, 0.6,
  2565.                         0.7, 0.8, 0.9, 0.96,
  2566.                         1 ]
  2567.                   keyValue    [ 1 1 1,
  2568.                         1.05 1 1.05,
  2569.                         1.15 1 1.15,
  2570.                         1.3 1 1.3,
  2571.                         1.5 1 1.5,
  2572.                         1.75 1 1.75,
  2573.                         1.8 1 1.8,
  2574.                         1.75 1 1.75,
  2575.                         1.5 1 1.5,
  2576.                         1.3 1 1.3,
  2577.                         1.15 1 1.15,
  2578.                         1.05 1 1.05,
  2579.                         1 1 1 ]
  2580.                 }
  2581.                 DEF BALL-SHADOW-SWITCH Transform {
  2582.                   children    DEF BALL-SHADOW-SWITCHER Switch {
  2583.                 whichChoice    0
  2584.                 choice    DEF BALL-SHADOW Transform {
  2585.                   children    Transform {
  2586.                     children    Shape {
  2587.                       appearance    Appearance {
  2588.                     material    DEF _DefMat Material {
  2589.                       ambientIntensity    0
  2590.                       diffuseColor    0 0 0
  2591.                       transparency    0.21
  2592.                     }
  2593.  
  2594.                       }
  2595.  
  2596.                       geometry    IndexedFaceSet {
  2597.                     coord    Coordinate {
  2598.                       point    [ 2 0.1 0,
  2599.                             1.84776 0.1 0.765366,
  2600.                             1.41421 0.1 1.41421,
  2601.                             0.765369 0.1 1.84776,
  2602.                             2.53518e-06 0.1 2,
  2603.                             -0.765364 0.1 1.84776,
  2604.                             -1.41421 0.1 1.41422,
  2605.                             -1.84776 0.1 0.765371,
  2606.                             -2 0.1 5.07036e-06,
  2607.                             -1.84776 0.1 -0.765362,
  2608.                             -1.41422 0.1 -1.41421,
  2609.                             -0.765373 0.1 -1.84776,
  2610.                             -7.60554e-06 0.1 -2,
  2611.                             0.765359 0.1 -1.84776,
  2612.                             1.41421 0.1 -1.41422,
  2613.                             1.84776 0.1 -0.765376,
  2614.                             2 0.1 0,
  2615.                             1 100 1,
  2616.                             200 100 200,
  2617.                             -200 100 -200 ]
  2618.                     }
  2619.  
  2620.                     coordIndex    [ 0, 14, 15, -1, 0, 1, 2, -1,
  2621.                           0, 2, 3, -1, 0, 3, 4, -1,
  2622.                           0, 4, 5, -1, 0, 5, 6, -1,
  2623.                           0, 6, 7, -1, 0, 7, 8, -1,
  2624.                           0, 8, 9, -1, 0, 9, 10, -1,
  2625.                           0, 10, 11, -1, 0, 11, 12, -1,
  2626.                           0, 12, 13, -1, 0, 13, 14, -1,
  2627.                           17, 18, 19, -1 ]
  2628.                     solid    FALSE
  2629.                     creaseAngle    0.523599
  2630.                       }
  2631.  
  2632.                     }
  2633.  
  2634.                     translation    0 -0.85 0
  2635.                     scale    0.5 1 0.5
  2636.                   }
  2637.  
  2638.                   translation    0 -0.05 0
  2639.                   scale    1 1 1
  2640.                 }
  2641.  
  2642.                   }
  2643.  
  2644.                 }
  2645.               ]
  2646.               translation    0 0 0
  2647.               scale    1 1 1
  2648.             }
  2649.             DEF BALL-XFORM-SHUTTLE Transform {
  2650.               children    [
  2651.                 DEF BALL-SHUTTLE-TIMER TimeSensor {
  2652.                   cycleInterval    4.8
  2653.                   loop    TRUE
  2654.                   startTime    0
  2655.                   stopTime    1
  2656.                 }
  2657.                 DEF BALL-SHUTTLER PositionInterpolator {
  2658.                   key    [ 0, 0.125, 0.25, 0.375,
  2659.                         0.5, 0.625, 0.75, 0.875,
  2660.                         1 ]
  2661.                   keyValue    [ 0 0 0,
  2662.                         2 0 0,
  2663.                         4 0 0,
  2664.                         6 0 0,
  2665.                         8 0 0,
  2666.                         6 0 0,
  2667.                         4 0 0,
  2668.                         2 0 0,
  2669.                         0 0 0 ]
  2670.                 }
  2671.                 DEF BALL-XFORM-BOUNCE Transform {
  2672.                   children    [
  2673.                 DEF BALL-SENSOR TouchSensor {
  2674.                 }
  2675.                 DEF BALL-BOUNCE-TIMER TimeSensor {
  2676.                   cycleInterval    1.2
  2677.                   loop    TRUE
  2678.                   startTime    0
  2679.                   stopTime    1
  2680.                 }
  2681.                 DEF BALL-SOUND-TIMER TimeSensor {
  2682.                   cycleInterval    1.2
  2683.                   loop    TRUE
  2684.                   startTime    0
  2685.                   stopTime    1
  2686.                 }
  2687.                 DEF BALL-SOUND-SCRIPT Script {
  2688.                   eventOut                  SFTime                  modifiedTime
  2689.                   eventIn                  SFTime                  startTime
  2690.                   url    "vrmlscript:
  2691.             function startTime (time){
  2692.                modifiedTime = time - .46;
  2693.             }
  2694.  
  2695.         "
  2696.                 }
  2697.                 DEF BALL-BOUNCER PositionInterpolator {
  2698.                   key    [ 0, 0.04, 0.1, 0.2,
  2699.                         0.3, 0.4, 0.5, 0.6,
  2700.                         0.7, 0.8, 0.9, 0.96,
  2701.                         1 ]
  2702.                   keyValue    [ 0 0 0,
  2703.                         0 0.66 0,
  2704.                         0 1.664 0,
  2705.                         0 3.036 0,
  2706.                         0 4.016 0,
  2707.                         0 4.604 0,
  2708.                         0 4.8 0,
  2709.                         0 4.604 0,
  2710.                         0 4.016 0,
  2711.                         0 3.036 0,
  2712.                         0 1.664 0,
  2713.                         0 0.66 0,
  2714.                         0 0 0 ]
  2715.                 }
  2716.                 DEF BALL-DEFORMER PositionInterpolator {
  2717.                   key    [ 0, 0.04, 0.1, 0.2,
  2718.                         0.3, 0.4, 0.5, 0.6,
  2719.                         0.7, 0.8, 0.9, 0.96,
  2720.                         1 ]
  2721.                   keyValue    [ 1.3 0.7 1.3,
  2722.                         0.895 1.105 0.895,
  2723.                         0.92 1.08 0.92,
  2724.                         0.955 1.045 0.955,
  2725.                         0.98 1.02 0.98,
  2726.                         0.995 1.005 0.995,
  2727.                         1 1 1,
  2728.                         0.995 1.005 0.995,
  2729.                         0.98 1.02 0.98,
  2730.                         0.955 1.045 0.955,
  2731.                         0.92 1.08 0.92,
  2732.                         0.895 1.105 0.895,
  2733.                         1.3 0.7 1.3 ]
  2734.                 }
  2735.                 Sound {
  2736.                   source    DEF BALL-SOUND-SOURCE AudioClip {
  2737.                     url    "Sounds/ball.wav"
  2738.                     loop    FALSE
  2739.                     startTime    0
  2740.                   }
  2741.  
  2742.                   minFront    1
  2743.                   maxFront    50
  2744.                   minBack    1
  2745.                   maxBack    50
  2746.                 }
  2747.                 DEF BALL-DEFORM-XFORM Transform {
  2748.                   children    DEF BALL-SWITCH Switch {
  2749.                     whichChoice    0
  2750.                     choice    [
  2751.                       USE INLINE-BALL0
  2752.                       USE INLINE-BALL1
  2753.                       USE INLINE-BALL2
  2754.                     ]
  2755.                   }
  2756.  
  2757.                   scale    1.3 0.7 1.3
  2758.                 }
  2759.                 DEF BALL-LIGHT SpotLight {
  2760.                   on    FALSE
  2761.                   intensity    1
  2762.                   color    1 0 0
  2763.                   direction    0 -1 0
  2764.                   beamWidth    0.4
  2765.                   cutOffAngle    1.57
  2766.                 }
  2767.                 DEF BALL-VP Viewpoint {
  2768.                   position    1.8699 0.221448 2.22348
  2769.                   orientation    0.137895 0.985528 -0.0985827  1.25514
  2770.                   fieldOfView    1.67266
  2771.                   description    "Ball Cam"
  2772.                 }
  2773.                   ]
  2774.                   translation    0 0 0
  2775.                 }
  2776.               ]
  2777.               translation    0 0 0
  2778.             }
  2779.               ]
  2780.               #rotation    0 -1 0  0.78
  2781.               scale    1 1 1
  2782.             }
  2783.           ]
  2784.         }
  2785.         DEF TRACKLIGHT0-ROOT Transform {
  2786.           children    DEF TRACKLIGHT Group {
  2787.             children    [
  2788.               DEF SHUTTLER0-ROOT Transform {
  2789.             children    [
  2790.               DEF SHUTTLER0-XFORM Transform {
  2791.                 children    Transform {
  2792.                   children    DEF INLINE-CONEMANIP Group {
  2793.                 children    [
  2794.                   Collision {
  2795.                     children    Group {
  2796.                       children    Group {
  2797.                     children    Group {
  2798.                       children    Shape {
  2799.                         appearance    Appearance {
  2800.                           material    Material {
  2801.                         ambientIntensity    0.25
  2802.                         diffuseColor    0 0.282514 0.314286
  2803.                         specularColor    0.233325 0.278401 0.607143
  2804.                         emissiveColor    0 0.1 0.2
  2805.                         shininess    0.157143
  2806.                         transparency    0
  2807.                           }
  2808.  
  2809.                         }
  2810.  
  2811.                         geometry    IndexedFaceSet {
  2812.                           coord    Coordinate {
  2813.                         point    [ 0 -1 -1,
  2814.                               0 1 0,
  2815.                               0.587785 -1 -0.809017,
  2816.                               0.951057 -1 -0.309017,
  2817.                               0.951056 -1 0.309017,
  2818.                               0.587785 -1 0.809017,
  2819.                               -8.74228e-08 -1 1,
  2820.                               -0.587785 -1 0.809017,
  2821.                               -0.951056 -1 0.309017,
  2822.                               -0.951056 -1 -0.309017,
  2823.                               -0.587785 -1 -0.809017 ]
  2824.                           }
  2825.  
  2826.                           coordIndex    [ 10, 1, 0, -1, 2, 0, 1, -1,
  2827.                                 2, 1, 3, -1, 4, 3, 1, -1,
  2828.                                 4, 1, 5, -1, 6, 5, 1, -1,
  2829.                                 6, 1, 7, -1, 8, 7, 1, -1,
  2830.                                 8, 1, 9, -1, 10, 9, 1, -1 ]
  2831.                           colorIndex    [  ]
  2832.                           ccw    TRUE
  2833.                           solid    FALSE
  2834.                           creaseAngle    2.37173
  2835.                         }
  2836.  
  2837.                       }
  2838.  
  2839.                     }
  2840.  
  2841.                       }
  2842.  
  2843.                     }
  2844.  
  2845.                     collide    FALSE
  2846.                   }
  2847.                   Transform {
  2848.                     children    Collision {
  2849.                       children    Group {
  2850.                     children    Group {
  2851.                       children    Group {
  2852.                         children    Shape {
  2853.                           appearance    Appearance {
  2854.                         material    Material {
  2855.                           ambientIntensity    0.25
  2856.                           diffuseColor    0 0.282514 0.314286
  2857.                           specularColor    0.233325 0.278401 0.607143
  2858.                           emissiveColor    0 0.1 0.2
  2859.                           shininess    0.157143
  2860.                           transparency    0
  2861.                         }
  2862.  
  2863.                           }
  2864.  
  2865.                           geometry    IndexedFaceSet {
  2866.                         coord    Coordinate {
  2867.                           point    [ 0 -1 -1,
  2868.                                 0 1 0,
  2869.                                 0.587785 -1 -0.809017,
  2870.                                 0.951057 -1 -0.309017,
  2871.                                 0.951056 -1 0.309017,
  2872.                                 0.587785 -1 0.809017,
  2873.                                 -8.74228e-08 -1 1,
  2874.                                 -0.587785 -1 0.809017,
  2875.                                 -0.951056 -1 0.309017,
  2876.                                 -0.951056 -1 -0.309017,
  2877.                                 -0.587785 -1 -0.809017 ]
  2878.                         }
  2879.  
  2880.                         coordIndex    [ 10, 1, 0, -1, 2, 0, 1, -1,
  2881.                               2, 1, 3, -1, 4, 3, 1, -1,
  2882.                               4, 1, 5, -1, 6, 5, 1, -1,
  2883.                               6, 1, 7, -1, 8, 7, 1, -1,
  2884.                               8, 1, 9, -1, 10, 9, 1, -1 ]
  2885.                         colorIndex    [  ]
  2886.                         ccw    TRUE
  2887.                         solid    FALSE
  2888.                         creaseAngle    2.37173
  2889.                           }
  2890.  
  2891.                         }
  2892.  
  2893.                       }
  2894.  
  2895.                     }
  2896.  
  2897.                       }
  2898.  
  2899.                       collide    FALSE
  2900.                     }
  2901.  
  2902.                     translation    0.0303557 -2.29429 -0.0335965
  2903.                     rotation    0.707084 -0.00799088 0.707084  3.15757
  2904.                     scale    1 1 1
  2905.                   }
  2906.                 ]
  2907.                   }
  2908.  
  2909.                   translation    -0.7 6 1
  2910.                   rotation    0 0 1  1.57
  2911.                 }
  2912.  
  2913.                 translation    0 0 0
  2914.               }
  2915.               DEF TRACKLIGHT0-SHUTTLER PlaneSensor {
  2916.                 minPosition    0 0
  2917.                 maxPosition    32 0
  2918.               }
  2919.             ]
  2920.             rotation    0 1 0  1.57
  2921.               }
  2922.               DEF SPINNER0-ROOT Transform {
  2923.             children    [
  2924.               DEF SPINNER0-XFORM Transform {
  2925.                 children    Transform {
  2926.                   children    DEF SPINNER-MANIP-SHAPE Shape {
  2927.                 appearance    Appearance {
  2928.                   material    Material {
  2929.                     diffuseColor    0.2 0.2 0.5
  2930.                     emissiveColor    0.1 0.1 0.25
  2931.                   }
  2932.  
  2933.                 }
  2934.  
  2935.                 geometry    IndexedFaceSet {
  2936.                   coord    Coordinate {
  2937.                     point    [ 1 0 0,
  2938.                           0.707107 0.707107 0,
  2939.                           0.707107 0 0.707107,
  2940.                           0 0.707107 0.707107,
  2941.                           0 0 1,
  2942.                           0 1 0,
  2943.                           -0.707107 0 0.707107,
  2944.                           -0.707107 0.707107 0,
  2945.                           -1 0 0,
  2946.                           0 -0.707107 0.707107,
  2947.                           0.707107 -0.707107 0,
  2948.                           0 -1 0,
  2949.                           -0.707107 -0.707107 0,
  2950.                           0 0 -1,
  2951.                           0 0.707107 -0.707107,
  2952.                           0.707107 0 -0.707107,
  2953.                           -0.707107 0 -0.707107,
  2954.                           0 -0.707107 -0.707107 ]
  2955.                   }
  2956.  
  2957.                   coordIndex    [ 0, 1, 2, -1, 2, 1, 3, -1,
  2958.                         2, 3, 4, -1, 3, 1, 5, -1,
  2959.                         4, 3, 6, -1, 6, 3, 7, -1,
  2960.                         6, 7, 8, -1, 7, 3, 5, -1,
  2961.                         4, 9, 2, -1, 2, 9, 10, -1,
  2962.                         2, 10, 0, -1, 10, 9, 11, -1,
  2963.                         8, 12, 6, -1, 6, 12, 9, -1,
  2964.                         6, 9, 4, -1, 9, 12, 11, -1,
  2965.                         13, 14, 15, -1, 15, 14, 1, -1,
  2966.                         15, 1, 0, -1, 1, 14, 5, -1,
  2967.                         8, 7, 16, -1, 16, 7, 14, -1,
  2968.                         16, 14, 13, -1, 14, 7, 5, -1,
  2969.                         0, 10, 15, -1, 15, 10, 17, -1,
  2970.                         15, 17, 13, -1, 17, 10, 11, -1,
  2971.                         13, 17, 16, -1, 16, 17, 12, -1,
  2972.                         16, 12, 8, -1, 12, 17, 11, -1 ]
  2973.                   creaseAngle    1.67185
  2974.                 }
  2975.  
  2976.                   }
  2977.  
  2978.                 }
  2979.  
  2980.                 translation    0 0 0
  2981.                 rotation    0 0 1  0
  2982.               }
  2983.               DEF TRACKLIGHT0-SPINNER CylinderSensor {
  2984.               }
  2985.             ]
  2986.             translation    0.8 4 -0.5
  2987.             rotation    0 1 0  1.57
  2988.               }
  2989.               Transform {
  2990.             children    [
  2991.               DEF TRACKLIGHT0-TRIGGER TouchSensor {
  2992.               }
  2993.               DEF TRACKLIGHT0-XFORM Transform {
  2994.                 children    Transform {
  2995.                   children    [
  2996.                 Transform {
  2997.                   children    [
  2998.                     DEF SPOT0-0 SpotLight {
  2999.                       on    TRUE
  3000.                       color    1 0 0
  3001.                       direction    1 -2 -1
  3002.                       beamWidth    0.4
  3003.                       cutOffAngle    1.57
  3004.                     }
  3005.                     DEF SPOT0-1 SpotLight {
  3006.                       on    FALSE
  3007.                       color    0 1 0
  3008.                       direction    1 -2 -1
  3009.                       beamWidth    0.4
  3010.                       cutOffAngle    1.57
  3011.                     }
  3012.                     DEF SPOT0-2 SpotLight {
  3013.                       on    FALSE
  3014.                       color    0 0 1
  3015.                       direction    1 -2 -1
  3016.                       beamWidth    0.4
  3017.                       cutOffAngle    1.57
  3018.                     }
  3019.                     DEF SPOT0-3 SpotLight {
  3020.                       on    FALSE
  3021.                       color    1 1 1
  3022.                       direction    1 -2 -1
  3023.                       beamWidth    0.4
  3024.                       cutOffAngle    1.57
  3025.                     }
  3026.                   ]
  3027.                   translation    -6.40022 16.3718 6.08966
  3028.                   rotation    0 1 0  2
  3029.                 }
  3030.                 DEF TRACKLIGHT-ASSEMBLY Transform {
  3031.                   children    [
  3032.                     Transform {
  3033.                       children    DEF WSA_root Group {
  3034.                     children    DEF WSA_objects Group {
  3035.                       children    [
  3036.                         Group {
  3037.                           children    Group {
  3038.                         children    Group {
  3039.                           children    [
  3040.                             Group {
  3041.                               children    Shape {
  3042.                             appearance    Appearance {
  3043.                               material    Material {
  3044.                                 ambientIntensity    0
  3045.                                 diffuseColor    0 0 0
  3046.                                 specularColor    0.245189 0 1
  3047.                                 emissiveColor    0.0638298 0.0638298 0.0638298
  3048.                                 shininess    0.308511
  3049.                                 transparency    0
  3050.                               }
  3051.  
  3052.                             }
  3053.  
  3054.                             geometry    IndexedFaceSet {
  3055.                               coord    Coordinate {
  3056.                                 point    [ -7.90069 3.20245 1.91522,
  3057.                                       -7.89137 3.23657 1.88277,
  3058.                                       -7.92818 3.27069 1.83707,
  3059.                                       -7.97431 3.27069 1.82381,
  3060.                                       -8.02977 3.23656 1.84299,
  3061.                                       -8.03909 3.20243 1.87544,
  3062.                                       -8.00228 3.16831 1.92114,
  3063.                                       -7.95614 3.16832 1.9344,
  3064.                                       -7.94784 3.37124 2.07919,
  3065.                                       -7.93852 3.40536 2.04675,
  3066.                                       -7.97533 3.43948 2.00104,
  3067.                                       -8.02147 3.43947 1.98778,
  3068.                                       -8.07692 3.40534 2.00697,
  3069.                                       -8.08624 3.37122 2.03941,
  3070.                                       -8.04943 3.3371 2.08512,
  3071.                                       -8.0033 3.33711 2.09838 ]
  3072.                               }
  3073.  
  3074.                               coordIndex    [ 7, 6, 5, 4, 3, 2, 1, 0,
  3075.                                     -1, 9, 8, 0, 1, -1, 10, 9,
  3076.                                     1, 2, -1, 11, 10, 2, 3, -1,
  3077.                                     12, 11, 3, 4, -1, 13, 12, 4,
  3078.                                     5, -1, 14, 13, 5, 6, -1, 15,
  3079.                                     14, 6, 7, -1, 8, 15, 7, 0,
  3080.                                     -1, 8, 9, 10, 11, 12, 13, 14,
  3081.                                     15, -1 ]
  3082.                               colorIndex    [  ]
  3083.                               normal    NULL
  3084.  
  3085.                               normalPerVertex    FALSE
  3086.                               solid    TRUE
  3087.                               creaseAngle    0
  3088.                             }
  3089.  
  3090.                               }
  3091.  
  3092.                             }
  3093.                             Group {
  3094.                               children    [
  3095.                             Transform {
  3096.                               children    [
  3097.                               ]
  3098.                               translation    6.59647 -2.67852 -1.57771
  3099.                               scale    1.8391 1.83909 1.83911
  3100.                             }
  3101.                             Transform {
  3102.                               children    [
  3103.                               ]
  3104.                               translation    6.34936 -2.51753 -1.43905
  3105.                               scale    1.78762 1.78765 1.78764
  3106.                             }
  3107.                             Transform {
  3108.                               children    [
  3109.                               ]
  3110.                               translation    6.30917 -2.60212 -1.41836
  3111.                               scale    1.79481 1.79525 1.7949
  3112.                             }
  3113.                             Transform {
  3114.                               children    [
  3115.                               ]
  3116.                               translation    5.6494 -2.20993 -1.37455
  3117.                               scale    1.70764 1.70768 1.70767
  3118.                             }
  3119.                               ]
  3120.                             }
  3121.                           ]
  3122.                         }
  3123.  
  3124.                           }
  3125.  
  3126.                         }
  3127.                         Transform {
  3128.                           children    Group {
  3129.                         children    Transform {
  3130.                           children    Shape {
  3131.                             appearance    Appearance {
  3132.                               material    Material {
  3133.                             ambientIntensity    0
  3134.                             diffuseColor    0.25 0.25 0.25
  3135.                             specularColor    0.293243 0.297387 0.290421
  3136.                             emissiveColor    0.1 0.1 0.1
  3137.                             shininess    0.0816327
  3138.                             transparency    0
  3139.                               }
  3140.  
  3141.                             }
  3142.  
  3143.                             geometry    IndexedFaceSet {
  3144.                               coord    Coordinate {
  3145.                             point    [ -1 1 1,
  3146.                                   -1 -1 1,
  3147.                                   1 1 1,
  3148.                                   1 -1 1,
  3149.                                   1 1 -1,
  3150.                                   1 -1 -1,
  3151.                                   -1 1 -1,
  3152.                                   -1 -1 -1 ]
  3153.                               }
  3154.  
  3155.                               coordIndex    [ 0, 1, 2, -1, 2, 1, 3, -1,
  3156.                                     4, 5, 6, -1, 6, 5, 7, -1,
  3157.                                     6, 7, 0, -1, 0, 7, 1, -1,
  3158.                                     2, 3, 4, -1, 4, 3, 5, -1,
  3159.                                     6, 0, 4, -1, 4, 0, 2, -1,
  3160.                                     1, 7, 3, -1, 3, 7, 5, -1 ]
  3161.                               colorIndex    [  ]
  3162.                               solid    TRUE
  3163.                               creaseAngle    3.14159
  3164.                             }
  3165.  
  3166.                           }
  3167.  
  3168.                           translation    0 1.39822 3.63798e-12
  3169.                           scale    1 2.39822 1
  3170.                         }
  3171.  
  3172.                           }
  3173.  
  3174.                           translation    -8.01488 4.53714 2.04582
  3175.                           scale    0.0110653 1.14116 0.0110239
  3176.                         }
  3177.                       ]
  3178.                     }
  3179.  
  3180.                       }
  3181.  
  3182.                       translation    -25.9756 -16.6036 -74.0398
  3183.                       rotation    0 1 0  1.5708
  3184.                       scale    9.99997 10 9.99997
  3185.                     }
  3186.                     Transform {
  3187.                       children    Shape {
  3188.                     appearance    Appearance {
  3189.                       material    DEF _140 Material {
  3190.                         ambientIntensity    0
  3191.                         diffuseColor    0 0 0
  3192.                         specularColor    0.245189 0 1
  3193.                         emissiveColor    0.0638298 0.0638298 0.0638298
  3194.                         shininess    0.308511
  3195.                         transparency    0
  3196.                       }
  3197.  
  3198.                     }
  3199.  
  3200.                     geometry    IndexedFaceSet {
  3201.                       coord    Coordinate {
  3202.                         point    [ 0.045 0.03 -7.5e-05,
  3203.                               0.045 -0.03 -7.5e-05,
  3204.                               -0.045 0.03 -7.5e-05,
  3205.                               -0.045 -0.03 -7.5e-05 ]
  3206.                       }
  3207.  
  3208.                       coordIndex    [ 0, 1, 3, 2, -1 ]
  3209.                       colorIndex    [  ]
  3210.                       texCoord    TextureCoordinate {
  3211.                         point    [ 0 1,
  3212.                               0 0,
  3213.                               1 1,
  3214.                               1 0 ]
  3215.                       }
  3216.  
  3217.                       texCoordIndex    [ 0, 1, 3, 2, -1 ]
  3218.                       solid    FALSE
  3219.                       creaseAngle    0.5
  3220.                     }
  3221.  
  3222.                       }
  3223.  
  3224.                       translation    -7.70615 15.3589 6.57476
  3225.                       rotation    0.0355144 0.340146 0.939702  2.31639
  3226.                       scale    14.3011 14.3011 242.174
  3227.                       scaleOrientation    2.30031e-07 8.46675e-08 1  0.179388
  3228.                     }
  3229.                     Transform {
  3230.                       children    Shape {
  3231.                     appearance    Appearance {
  3232.                       material    USE _140
  3233.  
  3234.                     }
  3235.  
  3236.                     geometry    IndexedFaceSet {
  3237.                       coord    Coordinate {
  3238.                         point    [ 0.045 0.03 -7.5e-05,
  3239.                               0.045 -0.03 -7.5e-05,
  3240.                               -0.045 0.03 -7.5e-05,
  3241.                               -0.045 -0.03 -7.5e-05 ]
  3242.                       }
  3243.  
  3244.                       coordIndex    [ 0, 1, 3, 2, -1 ]
  3245.                       colorIndex    [  ]
  3246.                       texCoord    TextureCoordinate {
  3247.                         point    [ 0 1,
  3248.                               0 0,
  3249.                               1 1,
  3250.                               1 0 ]
  3251.                       }
  3252.  
  3253.                       texCoordIndex    [ 0, 1, 3, 2, -1 ]
  3254.                       solid    FALSE
  3255.                       creaseAngle    0.5
  3256.                     }
  3257.  
  3258.                       }
  3259.  
  3260.                       translation    -7.18281 15.315 4.59091
  3261.                       rotation    -0.253639 -0.351811 0.901053  2.48355
  3262.                       scale    14.3011 14.3011 242.174
  3263.                       scaleOrientation    -1.95735e-08 1.65092e-08 1  0.376576
  3264.                     }
  3265.                     Transform {
  3266.                       children    Shape {
  3267.                     appearance    Appearance {
  3268.                       material    USE _140
  3269.  
  3270.                     }
  3271.  
  3272.                     geometry    IndexedFaceSet {
  3273.                       coord    Coordinate {
  3274.                         point    [ 0.045 0.03 -7.5e-05,
  3275.                               0.045 -0.03 -7.5e-05,
  3276.                               -0.045 0.03 -7.5e-05,
  3277.                               -0.045 -0.03 -7.5e-05 ]
  3278.                       }
  3279.  
  3280.                       coordIndex    [ 0, 1, 3, 2, -1 ]
  3281.                       colorIndex    [  ]
  3282.                       texCoord    TextureCoordinate {
  3283.                         point    [ 0 1,
  3284.                               0 0,
  3285.                               1 1,
  3286.                               1 0 ]
  3287.                       }
  3288.  
  3289.                       texCoordIndex    [ 0, 1, 3, 2, -1 ]
  3290.                       solid    FALSE
  3291.                       creaseAngle    0.5
  3292.                     }
  3293.  
  3294.                       }
  3295.  
  3296.                       translation    -6.56817 14.6171 5.7862
  3297.                       rotation    -0.121866 0.97999 -0.157382  4.4138
  3298.                       scale    14.3011 14.3011 242.174
  3299.                       scaleOrientation    -7.57133e-09 1.03032e-07 1  0.122489
  3300.                     }
  3301.                     Transform {
  3302.                       children    Shape {
  3303.                     appearance    Appearance {
  3304.                       material    USE _140
  3305.  
  3306.                     }
  3307.  
  3308.                     geometry    IndexedFaceSet {
  3309.                       coord    Coordinate {
  3310.                         point    [ 0.045 0.03 -7.5e-05,
  3311.                               0.045 -0.03 -7.5e-05,
  3312.                               -0.045 0.03 -7.5e-05,
  3313.                               -0.045 -0.03 -7.5e-05 ]
  3314.                       }
  3315.  
  3316.                       coordIndex    [ 0, 1, 3, 2, -1 ]
  3317.                       colorIndex    [  ]
  3318.                       texCoord    TextureCoordinate {
  3319.                         point    [ 0 1,
  3320.                               0 0,
  3321.                               1 1,
  3322.                               1 0 ]
  3323.                       }
  3324.  
  3325.                       texCoordIndex    [ 0, 1, 3, 2, -1 ]
  3326.                       solid    FALSE
  3327.                       creaseAngle    0.5
  3328.                     }
  3329.  
  3330.                       }
  3331.  
  3332.                       translation    -8.13433 16.1346 5.33859
  3333.                       rotation    -0.680643 0.525545 0.510419  1.91904
  3334.                       scale    14.3011 14.3011 242.174
  3335.                       scaleOrientation    4.32167e-09 -2.10423e-09 -1  0.448027
  3336.                     }
  3337.                   ]
  3338.                 }
  3339.                   ]
  3340.                   translation    6.00022 -16.3718 -5.38966
  3341.                 }
  3342.  
  3343.                 translation    0 0 0
  3344.                 rotation    0 -1 0  2
  3345.                 center    0.5 43.1605 0.8
  3346.               }
  3347.             ]
  3348.             rotation    0 1 0  1.57
  3349.               }
  3350.             ]
  3351.           }
  3352.  
  3353.           translation    -10 10 12
  3354.           scale    0.66001 0.66001 0.66001
  3355.           scaleOrientation    0 0 1  0
  3356.         }
  3357.         DEF TRACKLIGHT1-ROOT Transform {
  3358.           children    Group {
  3359.             children    [
  3360.               DEF SHUTTLER1-ROOT Transform {
  3361.             children    [
  3362.               DEF SHUTTLER1-XFORM Transform {
  3363.                 children    Transform {
  3364.                   children    USE INLINE-CONEMANIP
  3365.  
  3366.                   translation    -0.7 6 1
  3367.                   rotation    0 0 1  1.57
  3368.                 }
  3369.  
  3370.                 translation    0 0 0
  3371.               }
  3372.               DEF TRACKLIGHT1-SHUTTLER PlaneSensor {
  3373.                 minPosition    0 0
  3374.                 maxPosition    32 0
  3375.               }
  3376.             ]
  3377.             rotation    0 1 0  1.57
  3378.               }
  3379.               DEF SPINNER1-ROOT Transform {
  3380.             children    [
  3381.               DEF SPINNER1-XFORM Transform {
  3382.                 children    Transform {
  3383.                   children    USE SPINNER-MANIP-SHAPE
  3384.  
  3385.                 }
  3386.  
  3387.                 translation    0 0 0
  3388.                 rotation    0 0 1  0
  3389.               }
  3390.               DEF TRACKLIGHT1-SPINNER CylinderSensor {
  3391.               }
  3392.             ]
  3393.             translation    0.8 4 -0.5
  3394.             rotation    0 1 0  1.57
  3395.               }
  3396.               Transform {
  3397.             children    [
  3398.               DEF TRACKLIGHT1-TRIGGER TouchSensor {
  3399.               }
  3400.               DEF TRACKLIGHT1-XFORM Transform {
  3401.                 children    Transform {
  3402.                   children    [
  3403.                 Transform {
  3404.                   children    [
  3405.                     DEF SPOT1-0 SpotLight {
  3406.                       on    FALSE
  3407.                       color    1 0 0
  3408.                       direction    1 -2 -1
  3409.                       beamWidth    0.4
  3410.                       cutOffAngle    1.57
  3411.                     }
  3412.                     DEF SPOT1-1 SpotLight {
  3413.                       on    FALSE
  3414.                       color    0 1 0
  3415.                       direction    1 -2 -1
  3416.                       beamWidth    0.4
  3417.                       cutOffAngle    1.57
  3418.                     }
  3419.                     DEF SPOT1-2 SpotLight {
  3420.                       on    TRUE
  3421.                       color    0 0 1
  3422.                       direction    1 -2 -1
  3423.                       beamWidth    0.4
  3424.                       cutOffAngle    1.57
  3425.                     }
  3426.                     DEF SPOT1-3 SpotLight {
  3427.                       on    FALSE
  3428.                       color    1 1 1
  3429.                       direction    1 -2 -1
  3430.                       beamWidth    0.4
  3431.                       cutOffAngle    1.57
  3432.                     }
  3433.                   ]
  3434.                   translation    -6.40022 16.3718 6.08966
  3435.                   rotation    0 1 0  2
  3436.                 }
  3437.                 USE TRACKLIGHT-ASSEMBLY
  3438.                   ]
  3439.                   translation    6.00022 -16.3718 -5.38966
  3440.                 }
  3441.  
  3442.                 translation    0 0 0
  3443.                 rotation    0 -1 0  2
  3444.                 center    0.5 43.1605 0.8
  3445.               }
  3446.             ]
  3447.             rotation    0 1 0  1.57
  3448.               }
  3449.             ]
  3450.           }
  3451.  
  3452.           translation    -10 10 -10
  3453.           rotation    0 -1 0  1.57
  3454.           scale    0.66001 0.66001 0.66001
  3455.           scaleOrientation    0 0 1  0
  3456.         }
  3457.         DEF TRACKLIGHT2-ROOT Transform {
  3458.           children    Group {
  3459.             children    [
  3460.               DEF SHUTTLER2-ROOT Transform {
  3461.             children    [
  3462.               DEF SHUTTLER2-XFORM Transform {
  3463.                 children    Transform {
  3464.                   children    USE INLINE-CONEMANIP
  3465.  
  3466.                   translation    -0.7 6 1
  3467.                   rotation    0 0 1  1.57
  3468.                 }
  3469.  
  3470.                 translation    0 0 0
  3471.               }
  3472.               DEF TRACKLIGHT2-SHUTTLER PlaneSensor {
  3473.                 minPosition    -30 0
  3474.                 maxPosition    0 0
  3475.               }
  3476.             ]
  3477.             rotation    0 1 0  1.57
  3478.               }
  3479.               DEF SPINNER2-ROOT Transform {
  3480.             children    [
  3481.               DEF SPINNER2-XFORM Transform {
  3482.                 children    Transform {
  3483.                   children    USE SPINNER-MANIP-SHAPE
  3484.  
  3485.                 }
  3486.  
  3487.                 translation    0 0 0
  3488.                 rotation    0 0 1  0
  3489.               }
  3490.               DEF TRACKLIGHT2-SPINNER CylinderSensor {
  3491.               }
  3492.             ]
  3493.             translation    0.8 4 -0.5
  3494.             rotation    0 1 0  1.57
  3495.               }
  3496.               Transform {
  3497.             children    [
  3498.               DEF TRACKLIGHT2-TRIGGER TouchSensor {
  3499.               }
  3500.               DEF TRACKLIGHT2-XFORM Transform {
  3501.                 children    Transform {
  3502.                   children    [
  3503.                 Transform {
  3504.                   children    [
  3505.                     DEF SPOT2-0 SpotLight {
  3506.                       on    FALSE
  3507.                       color    1 0 0
  3508.                       direction    1 -2 -1
  3509.                       beamWidth    0.4
  3510.                       cutOffAngle    1.57
  3511.                     }
  3512.                     DEF SPOT2-1 SpotLight {
  3513.                       on    FALSE
  3514.                       color    0 1 0
  3515.                       direction    1 -2 -1
  3516.                       beamWidth    0.4
  3517.                       cutOffAngle    1.57
  3518.                     }
  3519.                     DEF SPOT2-2 SpotLight {
  3520.                       on    FALSE
  3521.                       color    0 0 1
  3522.                       direction    1 -2 -1
  3523.                       beamWidth    0.4
  3524.                       cutOffAngle    1.57
  3525.                     }
  3526.                     DEF SPOT2-3 SpotLight {
  3527.                       on    FALSE
  3528.                       color    1 1 1
  3529.                       direction    1 -2 -1
  3530.                       beamWidth    0.4
  3531.                       cutOffAngle    1.57
  3532.                     }
  3533.                   ]
  3534.                   translation    -6.40022 16.3718 6.08966
  3535.                   rotation    0 1 0  2
  3536.                 }
  3537.                 USE TRACKLIGHT-ASSEMBLY
  3538.                   ]
  3539.                   translation    6.00022 -16.3718 -5.38966
  3540.                 }
  3541.  
  3542.                 translation    0 0 0
  3543.                 rotation    0 -1 0  2
  3544.                 center    0.5 43.1605 0.8
  3545.               }
  3546.             ]
  3547.             rotation    0 1 0  1.57
  3548.               }
  3549.             ]
  3550.           }
  3551.  
  3552.           translation    10 10 10
  3553.           rotation    0 -1 0  1.57
  3554.           scale    0.66001 0.66001 0.66001
  3555.           scaleOrientation    0 0 1  0
  3556.         }
  3557.         DEF LAMP-ROOT Transform {
  3558.           children    Transform {
  3559.             children    [
  3560.               DEF LAMP-TRIGGER TouchSensor {
  3561.             enabled    TRUE
  3562.               }
  3563.               Transform {
  3564.             children    Shape {
  3565.               appearance    Appearance {
  3566.                 material    Material {
  3567.                   ambientIntensity    0
  3568.                   diffuseColor    1 1 1
  3569.                   specularColor    0.622449 0.622449 0.622449
  3570.                   emissiveColor    1 0.871763 0
  3571.                   shininess    0.0510204
  3572.                   transparency    0
  3573.                 }
  3574.  
  3575.               }
  3576.  
  3577.               geometry    IndexedFaceSet {
  3578.                 coord    Coordinate {
  3579.                   point    [ 1 0 0,
  3580.                         0.707107 0.707107 0,
  3581.                         0.707107 0 0.707107,
  3582.                         0 0.707107 0.707107,
  3583.                         0 0 1,
  3584.                         0 1 0,
  3585.                         -0.707107 0 0.707107,
  3586.                         -0.707107 0.707107 0,
  3587.                         -1 0 0,
  3588.                         0 -0.707107 0.707107,
  3589.                         0.707107 -0.707107 0,
  3590.                         0 -1 0,
  3591.                         -0.707107 -0.707107 0,
  3592.                         0 0 -1,
  3593.                         0 0.707107 -0.707107,
  3594.                         0.707107 0 -0.707107,
  3595.                         -0.707107 0 -0.707107,
  3596.                         0 -0.707107 -0.707107 ]
  3597.                 }
  3598.  
  3599.                 coordIndex    [ 12, 17, 11, -1, 10, 11, 17, -1,
  3600.                       10, 9, 11, -1, 10, 2, 9, -1,
  3601.                       4, 9, 2, -1, 4, 2, 3, -1,
  3602.                       4, 3, 6, -1, 7, 6, 3, -1,
  3603.                       7, 8, 6, -1, 7, 16, 8, -1,
  3604.                       12, 8, 16, -1, 12, 16, 17, -1,
  3605.                       8, 12, 6, -1, 9, 6, 12, -1,
  3606.                       9, 4, 6, -1, 11, 9, 12, -1,
  3607.                       17, 16, 13, -1, 14, 13, 16, -1,
  3608.                       14, 15, 13, -1, 14, 1, 15, -1,
  3609.                       0, 15, 1, -1, 0, 1, 2, -1,
  3610.                       0, 2, 10, -1, 0, 10, 15, -1,
  3611.                       17, 15, 10, -1, 17, 13, 15, -1,
  3612.                       2, 1, 3, -1, 5, 3, 1, -1,
  3613.                       5, 7, 3, -1, 5, 14, 7, -1,
  3614.                       16, 7, 14, -1, 5, 1, 14, -1 ]
  3615.                 colorIndex    [  ]
  3616.                 normal    Normal {
  3617.                   vector    [ 1 0 0,
  3618.                         0.707107 0.707107 0,
  3619.                         0.707107 0 0.707107,
  3620.                         0 0.707107 0.707107,
  3621.                         0 0 1,
  3622.                         0 1 0,
  3623.                         -0.707107 0 0.707107,
  3624.                         -0.707107 0.707107 0,
  3625.                         -1 0 0,
  3626.                         0 -0.707107 0.707107,
  3627.                         0.707107 -0.707107 0,
  3628.                         0 -1 0,
  3629.                         -0.707107 -0.707107 0,
  3630.                         0 0 -1,
  3631.                         0 0.707107 -0.707107,
  3632.                         0.707107 0 -0.707107,
  3633.                         -0.707107 0 -0.707107,
  3634.                         0 -0.707107 -0.707107 ]
  3635.                 }
  3636.  
  3637.                 normalIndex    [ 12, 17, 11, -1, 10, 11, 17, -1,
  3638.                       10, 9, 11, -1, 10, 2, 9, -1,
  3639.                       4, 9, 2, -1, 4, 2, 3, -1,
  3640.                       4, 3, 6, -1, 7, 6, 3, -1,
  3641.                       7, 8, 6, -1, 7, 16, 8, -1,
  3642.                       12, 8, 16, -1, 12, 16, 17, -1,
  3643.                       8, 12, 6, -1, 9, 6, 12, -1,
  3644.                       9, 4, 6, -1, 11, 9, 12, -1,
  3645.                       17, 16, 13, -1, 14, 13, 16, -1,
  3646.                       14, 15, 13, -1, 14, 1, 15, -1,
  3647.                       0, 15, 1, -1, 0, 1, 2, -1,
  3648.                       0, 2, 10, -1, 0, 10, 15, -1,
  3649.                       17, 15, 10, -1, 17, 13, 15, -1,
  3650.                       2, 1, 3, -1, 5, 3, 1, -1,
  3651.                       5, 7, 3, -1, 5, 14, 7, -1,
  3652.                       16, 7, 14, -1, 5, 1, 14, -1 ]
  3653.                 solid    FALSE
  3654.                 creaseAngle    0.5
  3655.               }
  3656.  
  3657.             }
  3658.  
  3659.             translation    0.00335813 15.3896 0.000233306
  3660.             rotation    0 1 0  1.5708
  3661.             scale    0.547212 0.547213 0.547212
  3662.             scaleOrientation    0 0 1  0
  3663.               }
  3664.               Transform {
  3665.             children    Shape {
  3666.               appearance    Appearance {
  3667.                 material    Material {
  3668.                 }
  3669.  
  3670.               }
  3671.  
  3672.               geometry    IndexedFaceSet {
  3673.                 coord    Coordinate {
  3674.                   point    [ -2.86549 2.86549 2.86549,
  3675.                         -2.86549 -2.86549 2.86549,
  3676.                         2.86549 2.86549 2.86549,
  3677.                         2.86549 -2.86549 2.86549,
  3678.                         2.86549 2.86549 -2.86549,
  3679.                         2.86549 -2.86549 -2.86549,
  3680.                         -2.86549 2.86549 -2.86549,
  3681.                         -2.86549 -2.86549 -2.86549 ]
  3682.                 }
  3683.  
  3684.                 color    Color {
  3685.                   color    [ 0.242964 0 1,
  3686.                         1 1 1 ]
  3687.                 }
  3688.  
  3689.                 coordIndex    [ 0, 1, 3, 2, -1, 4, 5, 7,
  3690.                       6, -1, 6, 7, 1, 0, -1, 2,
  3691.                       3, 5, 4, -1, 6, 0, 2, 4,
  3692.                       -1, 1, 7, 5, 3, -1 ]
  3693.                 colorIndex    [ 1, 0, 0, 1, -1, 1, 0, 0,
  3694.                       1, -1, 1, 0, 0, 1, -1, 1,
  3695.                       0, 0, 1, -1, 1, 1, 1, 1,
  3696.                       -1, 0, 0, 0, 0, -1 ]
  3697.                 texCoord    TextureCoordinate {
  3698.                   point    [ 0 1,
  3699.                         0 0,
  3700.                         1 1,
  3701.                         1 0 ]
  3702.                 }
  3703.  
  3704.                 texCoordIndex    [ 0, 1, 3, 2, -1, 0, 1, 3,
  3705.                       2, -1, 0, 1, 3, 2, -1, 0,
  3706.                       1, 3, 2, -1, 0, 1, 3, 2,
  3707.                       -1, 0, 1, 3, 2, -1 ]
  3708.                 solid    TRUE
  3709.                 creaseAngle    3.14159
  3710.               }
  3711.  
  3712.             }
  3713.  
  3714.             translation    0.00430387 33.2895 0.0117796
  3715.             rotation    0.707107 0 0.707107  3.14159
  3716.             scale    0.0123915 6.04962 0.0122285
  3717.             scaleOrientation    0 0 1  0
  3718.               }
  3719.               Transform {
  3720.             children    Shape {
  3721.               appearance    Appearance {
  3722.                 material    Material {
  3723.                   ambientIntensity    0.248982
  3724.                   diffuseColor    0 0.286882 0.261868
  3725.                   specularColor    0.243549 0.556863 0.607143
  3726.                   emissiveColor    0 0 0
  3727.                   shininess    0.0663265
  3728.                   transparency    0
  3729.                 }
  3730.  
  3731.               }
  3732.  
  3733.               geometry    IndexedFaceSet {
  3734.                 coord    Coordinate {
  3735.                   point    [ 0 -1 -1,
  3736.                         0 1 0,
  3737.                         0.382683 -1 -0.92388,
  3738.                         0.707107 -1 -0.707107,
  3739.                         0.92388 -1 -0.382683,
  3740.                         1 -1 4.37114e-08,
  3741.                         0.92388 -1 0.382684,
  3742.                         0.707107 -1 0.707107,
  3743.                         0.382683 -1 0.92388,
  3744.                         1.50996e-07 -1 1,
  3745.                         -0.382683 -1 0.92388,
  3746.                         -0.707107 -1 0.707107,
  3747.                         -0.92388 -1 0.382684,
  3748.                         -1 -1 -1.19249e-08,
  3749.                         -0.923879 -1 -0.382684,
  3750.                         -0.707107 -1 -0.707107,
  3751.                         -0.382683 -1 -0.92388 ]
  3752.                 }
  3753.  
  3754.                 coordIndex    [ 0, 1, 2, -1, 2, 1, 3, -1,
  3755.                       3, 1, 4, -1, 4, 1, 5, -1,
  3756.                       5, 1, 6, -1, 6, 1, 7, -1,
  3757.                       7, 1, 8, -1, 8, 1, 9, -1,
  3758.                       9, 1, 10, -1, 10, 1, 11, -1,
  3759.                       11, 1, 12, -1, 12, 1, 13, -1,
  3760.                       13, 1, 14, -1, 14, 1, 15, -1,
  3761.                       15, 1, 16, -1, 16, 1, 0, -1 ]
  3762.                 colorIndex    [  ]
  3763.                 texCoord    TextureCoordinate {
  3764.                   point    [ 0 0,
  3765.                         0 1,
  3766.                         0.0625 0,
  3767.                         0.0625 1,
  3768.                         0.125 0,
  3769.                         0.125 1,
  3770.                         0.1875 0,
  3771.                         0.1875 1,
  3772.                         0.25 0,
  3773.                         0.25 1,
  3774.                         0.3125 0,
  3775.                         0.3125 1,
  3776.                         0.375 0,
  3777.                         0.375 1,
  3778.                         0.4375 0,
  3779.                         0.4375 1,
  3780.                         0.5 0,
  3781.                         0.5 1,
  3782.                         0.5625 0,
  3783.                         0.5625 1,
  3784.                         0.625 0,
  3785.                         0.625 1,
  3786.                         0.6875 0,
  3787.                         0.6875 1,
  3788.                         0.75 0,
  3789.                         0.75 1,
  3790.                         0.8125 0,
  3791.                         0.8125 1,
  3792.                         0.875 0,
  3793.                         0.875 1,
  3794.                         0.9375 0,
  3795.                         0.9375 1,
  3796.                         1 0 ]
  3797.                 }
  3798.  
  3799.                 texCoordIndex    [ 0, 1, 2, -1, 2, 3, 4, -1,
  3800.                       4, 5, 6, -1, 6, 7, 8, -1,
  3801.                       8, 9, 10, -1, 10, 11, 12, -1,
  3802.                       12, 13, 14, -1, 14, 15, 16, -1,
  3803.                       16, 17, 18, -1, 18, 19, 20, -1,
  3804.                       20, 21, 22, -1, 22, 23, 24, -1,
  3805.                       24, 25, 26, -1, 26, 27, 28, -1,
  3806.                       28, 29, 30, -1, 30, 31, 32, -1 ]
  3807.                 solid    FALSE
  3808.                 creaseAngle    2.01167
  3809.               }
  3810.  
  3811.             }
  3812.  
  3813.             translation    0.00350094 15.2087 0.0087724
  3814.             rotation    0 0 1  0
  3815.             scale    1.78806 1.08492 1.78806
  3816.               }
  3817.             ]
  3818.           }
  3819.  
  3820.           translation    0 -2.68334 0
  3821.         }
  3822.           ]
  3823.         }
  3824.       ]
  3825.     }
  3826.     DEF PROX-ROOT Transform {
  3827.       children    DEF FLOOR-PROX ProximitySensor {
  3828.         center    -0.17 -8.23 0.052
  3829.         size    24.48 15.07 24.88
  3830.       }
  3831.  
  3832.       rotation    0 0 1  0
  3833.       center    0 0 0
  3834.     }
  3835.       ]
  3836.       collide    TRUE
  3837.     }
  3838.     DEF COLLISION-LOGIC Script {
  3839.       eventOut      SFBool      collideOn
  3840.       eventIn      SFBool      ballCamBound
  3841.       eventIn      SFBool      coneCamBound
  3842.       eventIn      SFBool      cubeCamBound
  3843.       url    "vrmlscript:
  3844. function ballCamBound(value, time)
  3845. {
  3846.     if (value) collideOn = FALSE;
  3847.         else collideOn = TRUE;
  3848. }
  3849.  
  3850. function coneCamBound(value, time)
  3851. {
  3852.     if (value) collideOn = FALSE;
  3853.         else collideOn = TRUE;
  3854. }
  3855.  
  3856. function cubeCamBound(value, time)
  3857. {
  3858.     if (value) collideOn = FALSE;
  3859.         else collideOn = TRUE;
  3860. }
  3861. "
  3862.     }
  3863.   ]
  3864. }
  3865. ROUTE DIMMER-LOGIC.dimmerStartTime TO DIMMER-TIMER.set_startTime
  3866. ROUTE DIMMER-LOGIC.sunFractionOut TO SUN-DIMMER.set_fraction
  3867. ROUTE DIMMER-LOGIC.ptLightFractionOut TO PTLIGHT-DIMMER.set_fraction
  3868. ROUTE LAMP-TRIGGER.isActive TO DIMMER-LOGIC.triggerIn
  3869. ROUTE DIMMER-TIMER.fraction_changed TO DIMMER-LOGIC.fractionIn
  3870. ROUTE DIMMER-TIMER.isActive TO DIMMER-LOGIC.dimmerActive
  3871. ROUTE LAMP-TRIGGER.touchTime TO DIMMER-LOGIC.triggerTouchTime
  3872. ROUTE TRACKLIGHT0-TRIGGER.touchTime TO TRACKLIGHT-LOGIC.trigger0
  3873. ROUTE TRACKLIGHT1-TRIGGER.touchTime TO TRACKLIGHT-LOGIC.trigger1
  3874. ROUTE TRACKLIGHT2-TRIGGER.touchTime TO TRACKLIGHT-LOGIC.trigger2
  3875. ROUTE DIMMER-LOGIC.sunOn TO REFLECTED-LIGHT.set_on
  3876. ROUTE SUN-DIMMER.value_changed TO REFLECTED-LIGHT.set_intensity
  3877. ROUTE DIMMER-LOGIC.sunOn TO SUN.set_on
  3878. ROUTE SUN-DIMMER.value_changed TO SUN.set_intensity
  3879. ROUTE CUBE-SHUTTLE-TIMER.fraction_changed TO REFL-CUBE-SHUTTLER.set_fraction
  3880. ROUTE CUBE-BOUNCE-TIMER.fraction_changed TO REFL-CUBE-BOUNCER.set_fraction
  3881. ROUTE DICE-REFL-ENGINE.value_changed TO DICE-REFL-XFORM.set_rotation
  3882. ROUTE DICE-REFL-TIMER.fraction_changed TO DICE-REFL-ENGINE.set_fraction
  3883. ROUTE CUBE-SWITCH-LOGIC.cubeChoice TO REFL-CUBE-SWITCH.set_whichChoice
  3884. ROUTE CUBE-SWITCH-LOGIC.cubeReflChoice TO REFL-CUBE-SWITCH.set_whichChoice
  3885. ROUTE CUBE-DEFORMER.value_changed TO REFL-CUBE-DEFORM-XFORM.set_scale
  3886. ROUTE REFL-CUBE-BOUNCER.value_changed TO REFL-CUBE-XFORM-BOUNCE.set_translation
  3887. ROUTE REFL-CUBE-SHUTTLER.value_changed TO REFL-CUBE-XFORM-SHUTTLE.set_translation
  3888. ROUTE CONE-SWITCH-LOGIC.coneChoice TO REFL-CONE-SWITCH.set_whichChoice
  3889. ROUTE CONE-SWITCH-LOGIC.coneReflChoice TO REFL-CONE-SWITCH.set_whichChoice
  3890. ROUTE CONE-DEFORMER.value_changed TO REFL-CONE-DEFORM-XFORM.set_scale
  3891. ROUTE CONE-BOUNCE-TIMER.fraction_changed TO REFL-CONE-BOUNCER.set_fraction
  3892. ROUTE REFL-CONE-BOUNCER.value_changed TO REFL-CONE-XFORM-BOUNCE.set_translation
  3893. ROUTE CONE-SHUTTLE-TIMER.fraction_changed TO REFL-CONE-SHUTTLER.set_fraction
  3894. ROUTE REFL-CONE-SHUTTLER.value_changed TO REFL-CONE-XFORM-SHUTTLE.set_translation
  3895. ROUTE BALL-SHUTTLE-TIMER.fraction_changed TO REFL-BALL-SHUTTLER.set_fraction
  3896. ROUTE BALL-BOUNCE-TIMER.fraction_changed TO REFL-BALL-BOUNCER.set_fraction
  3897. ROUTE EYEBALL-TIMER.fraction_changed TO EYEBALL-ENGINE.set_fraction
  3898. ROUTE EYEBALL-ENGINE.value_changed TO EYEBALL-XFORM.set_rotation
  3899. ROUTE BALL-SWITCH-LOGIC.ballChoice TO REFL-BALL-SWITCH.set_whichChoice
  3900. ROUTE BALL-SWITCH-LOGIC.ballReflChoice TO REFL-BALL-SWITCH.set_whichChoice
  3901. ROUTE BALL-DEFORMER.value_changed TO REFL-BALL-DEFORM-XFORM.set_scale
  3902. ROUTE REFL-BALL-BOUNCER.value_changed TO REFL-BALL-XFORM-BOUNCE.set_translation
  3903. ROUTE REFL-BALL-SHUTTLER.value_changed TO REFL-BALL-XFORM-SHUTTLE.set_translation
  3904. ROUTE FLOOR-TRIGGER.isActive TO SWITCH-LOGIC.floorTriggerIn
  3905. ROUTE LEFT-WALL-TRIGGER.isActive TO SWITCH-LOGIC.leftWallTriggerIn
  3906. ROUTE RIGHT-WALL-TRIGGER.isActive TO SWITCH-LOGIC.rightWallTriggerIn
  3907. ROUTE FLOOR-PROX.enterTime TO SWITCH-LOGIC.proxEnteredTime
  3908. ROUTE FLOOR-PROX.exitTime TO SWITCH-LOGIC.proxExitTime
  3909. ROUTE SWITCH-LOGIC.floorChoice TO FLOOR-SWITCH.set_whichChoice
  3910. ROUTE SWITCH-LOGIC.leftWallChoice TO LEFT-WALL-SWITCH.set_whichChoice
  3911. ROUTE SWITCH-LOGIC.rightWallChoice TO RIGHT-WALL-SWITCH.set_whichChoice
  3912. ROUTE SWITCH-LOGIC.leftWallChoice TO LEFT-REFL-SWITCH.set_whichChoice
  3913. ROUTE SWITCH-LOGIC.leftWallReflChoice TO LEFT-REFL-SWITCH.set_whichChoice
  3914. ROUTE SWITCH-LOGIC.rightWallChoice TO RIGHT-REFL-SWITCH.set_whichChoice
  3915. ROUTE SWITCH-LOGIC.rightWallReflChoice TO RIGHT-REFL-SWITCH.set_whichChoice
  3916. ROUTE CUBE-SENSOR.isActive TO CUBE-SWITCH-LOGIC.triggerActive
  3917. ROUTE CUBE-SENSOR.touchTime TO CUBE-SWITCH-LOGIC.triggerTime
  3918. ROUTE FLOOR-PROX.enterTime TO CUBE-SWITCH-LOGIC.proxEnteredTime
  3919. ROUTE FLOOR-PROX.exitTime TO CUBE-SWITCH-LOGIC.proxExitTime
  3920. ROUTE CUBE-BOUNCE-TIMER.fraction_changed TO CUBE-SHADOW-DEFORMER.set_fraction
  3921. ROUTE CUBE-SWITCH-LOGIC.shadowToggler TO CUBE-SHADOW-SWITCHER.set_whichChoice
  3922. ROUTE CUBE-SHUTTLER.value_changed TO CUBE-SHADOW-XFORM.set_translation
  3923. ROUTE DICE-REFL-ENGINE.value_changed TO CUBE-SHADOW-XFORM.set_rotation
  3924. ROUTE CUBE-SHADOW-DEFORMER.value_changed TO CUBE-SHADOW-XFORM.set_scale
  3925. ROUTE CUBE-SOUND-SCRIPT.modifiedTime TO CUBE-SOUND-TIMER.set_startTime
  3926. ROUTE CUBE-SENSOR.touchTime TO CUBE-SOUND-SCRIPT.startTime
  3927. ROUTE CUBE-SWITCH-LOGIC.startTime TO CUBE-SHUTTLE-TIMER.set_startTime
  3928. ROUTE CUBE-SHUTTLE-TIMER.fraction_changed TO CUBE-SHUTTLER.set_fraction
  3929. ROUTE CUBE-SOUND-TIMER.cycleTime TO CUBE-SOUND-SOURCE.set_startTime
  3930. ROUTE CUBE-SWITCH-LOGIC.startTime TO CUBE-BOUNCE-TIMER.set_startTime
  3931. ROUTE CUBE-BOUNCE-TIMER.fraction_changed TO CUBE-BOUNCER.set_fraction
  3932. ROUTE CUBE-BOUNCE-TIMER.fraction_changed TO CUBE-DEFORMER.set_fraction
  3933. ROUTE DICE-REFL-ENGINE.value_changed TO DICE-XFORM.set_rotation
  3934. ROUTE CUBE-SWITCH-LOGIC.cubeChoice TO CUBE-SWITCH.set_whichChoice
  3935. ROUTE CUBE-DEFORMER.value_changed TO CUBE-DEFORM-XFORM.set_scale
  3936. ROUTE DIMMER-LOGIC.cubeLightOn TO CUBE-LIGHT.set_on
  3937. ROUTE PTLIGHT-DIMMER.value_changed TO CUBE-LIGHT.set_intensity
  3938. ROUTE CUBE-BOUNCER.value_changed TO CUBE-XFORM-BOUNCE.set_translation
  3939. ROUTE CUBE-SHUTTLER.value_changed TO CUBE-XFORM-SHUTTLE.set_translation
  3940. ROUTE CONE-SENSOR.isActive TO CONE-SWITCH-LOGIC.triggerActive
  3941. ROUTE CONE-SENSOR.touchTime TO CONE-SWITCH-LOGIC.triggerTime
  3942. ROUTE FLOOR-PROX.enterTime TO CONE-SWITCH-LOGIC.proxEnteredTime
  3943. ROUTE FLOOR-PROX.exitTime TO CONE-SWITCH-LOGIC.proxExitTime
  3944. ROUTE CONE-BOUNCE-TIMER.fraction_changed TO CONE-SHADOW-DEFORMER.set_fraction
  3945. ROUTE CUBE-SWITCH-LOGIC.shadowToggler TO CONE-SHADOW-SWITCHER.set_whichChoice
  3946. ROUTE CONE-SHUTTLER.value_changed TO CONE-SHADOW-XFORM.set_translation
  3947. ROUTE CONE-SHADOW-DEFORMER.value_changed TO CONE-SHADOW-XFORM.set_scale
  3948. ROUTE CONE-SWITCH-LOGIC.startTime TO CONE-SHUTTLE-TIMER.set_startTime
  3949. ROUTE CONE-SHUTTLE-TIMER.fraction_changed TO CONE-SHUTTLER.set_fraction
  3950. ROUTE CONE-SWITCH-LOGIC.startTime TO CONE-BOUNCE-TIMER.set_startTime
  3951. ROUTE CONE-SOUND-SCRIPT.modifiedTime TO CONE-SOUND-TIMER.set_startTime
  3952. ROUTE CONE-SENSOR.touchTime TO CONE-SOUND-SCRIPT.startTime
  3953. ROUTE CONE-BOUNCE-TIMER.fraction_changed TO CONE-BOUNCER.set_fraction
  3954. ROUTE CONE-BOUNCE-TIMER.fraction_changed TO CONE-DEFORMER.set_fraction
  3955. ROUTE CONE-SOUND-TIMER.cycleTime TO CONE-SOUND-SOURCE.set_startTime
  3956. ROUTE CONE-SWITCH-LOGIC.coneChoice TO CONE-SWITCH.set_whichChoice
  3957. ROUTE CONE-DEFORMER.value_changed TO CONE-DEFORM-XFORM.set_scale
  3958. ROUTE DIMMER-LOGIC.coneLightOn TO CONE-LIGHT.set_on
  3959. ROUTE PTLIGHT-DIMMER.value_changed TO CONE-LIGHT.set_intensity
  3960. ROUTE CONE-BOUNCER.value_changed TO CONE-XFORM-BOUNCE.set_translation
  3961. ROUTE CONE-SHUTTLER.value_changed TO CONE-XFORM-SHUTTLE.set_translation
  3962. ROUTE BALL-SENSOR.isActive TO BALL-SWITCH-LOGIC.triggerActive
  3963. ROUTE BALL-SENSOR.touchTime TO BALL-SWITCH-LOGIC.triggerTime
  3964. ROUTE FLOOR-PROX.enterTime TO BALL-SWITCH-LOGIC.proxEnteredTime
  3965. ROUTE FLOOR-PROX.exitTime TO BALL-SWITCH-LOGIC.proxExitTime
  3966. ROUTE BALL-BOUNCE-TIMER.fraction_changed TO BALL-SHADOW-DEFORMER.set_fraction
  3967. ROUTE CUBE-SWITCH-LOGIC.shadowToggler TO BALL-SHADOW-SWITCHER.set_whichChoice
  3968. ROUTE BALL-SHUTTLER.value_changed TO BALL-SHADOW-XFORM.set_translation
  3969. ROUTE BALL-SHADOW-DEFORMER.value_changed TO BALL-SHADOW-XFORM.set_scale
  3970. ROUTE BALL-SWITCH-LOGIC.startTime TO BALL-SHUTTLE-TIMER.set_startTime
  3971. ROUTE BALL-SHUTTLE-TIMER.fraction_changed TO BALL-SHUTTLER.set_fraction
  3972. ROUTE BALL-SWITCH-LOGIC.startTime TO BALL-BOUNCE-TIMER.set_startTime
  3973. ROUTE BALL-SOUND-SCRIPT.modifiedTime TO BALL-SOUND-TIMER.set_startTime
  3974. ROUTE BALL-SENSOR.touchTime TO BALL-SOUND-SCRIPT.startTime
  3975. ROUTE BALL-BOUNCE-TIMER.fraction_changed TO BALL-BOUNCER.set_fraction
  3976. ROUTE BALL-BOUNCE-TIMER.fraction_changed TO BALL-DEFORMER.set_fraction
  3977. ROUTE BALL-SOUND-TIMER.cycleTime TO BALL-SOUND-SOURCE.set_startTime
  3978. ROUTE BALL-SWITCH-LOGIC.ballChoice TO BALL-SWITCH.set_whichChoice
  3979. ROUTE BALL-DEFORMER.value_changed TO BALL-DEFORM-XFORM.set_scale
  3980. ROUTE DIMMER-LOGIC.ballLightOn TO BALL-LIGHT.set_on
  3981. ROUTE PTLIGHT-DIMMER.value_changed TO BALL-LIGHT.set_intensity
  3982. ROUTE BALL-BOUNCER.value_changed TO BALL-XFORM-BOUNCE.set_translation
  3983. ROUTE BALL-SHUTTLER.value_changed TO BALL-XFORM-SHUTTLE.set_translation
  3984. ROUTE TRACKLIGHT0-SHUTTLER.translation_changed TO SHUTTLER0-XFORM.set_translation
  3985. ROUTE TRACKLIGHT0-SHUTTLER.translation_changed TO SPINNER0-XFORM.set_translation
  3986. ROUTE TRACKLIGHT0-SPINNER.rotation_changed TO SPINNER0-XFORM.set_rotation
  3987. ROUTE TRACKLIGHT-LOGIC.spot0_0On TO SPOT0-0.set_on
  3988. ROUTE TRACKLIGHT-LOGIC.spot0_1On TO SPOT0-1.set_on
  3989. ROUTE TRACKLIGHT-LOGIC.spot0_2On TO SPOT0-2.set_on
  3990. ROUTE TRACKLIGHT-LOGIC.spot0_3On TO SPOT0-3.set_on
  3991. ROUTE TRACKLIGHT0-SHUTTLER.translation_changed TO TRACKLIGHT0-XFORM.set_translation
  3992. ROUTE TRACKLIGHT0-SPINNER.rotation_changed TO TRACKLIGHT0-XFORM.set_rotation
  3993. ROUTE TRACKLIGHT1-SHUTTLER.translation_changed TO SHUTTLER1-XFORM.set_translation
  3994. ROUTE TRACKLIGHT1-SHUTTLER.translation_changed TO SPINNER1-XFORM.set_translation
  3995. ROUTE TRACKLIGHT1-SPINNER.rotation_changed TO SPINNER1-XFORM.set_rotation
  3996. ROUTE TRACKLIGHT-LOGIC.spot1_0On TO SPOT1-0.set_on
  3997. ROUTE TRACKLIGHT-LOGIC.spot1_1On TO SPOT1-1.set_on
  3998. ROUTE TRACKLIGHT-LOGIC.spot1_2On TO SPOT1-2.set_on
  3999. ROUTE TRACKLIGHT-LOGIC.spot1_3On TO SPOT1-3.set_on
  4000. ROUTE TRACKLIGHT1-SHUTTLER.translation_changed TO TRACKLIGHT1-XFORM.set_translation
  4001. ROUTE TRACKLIGHT1-SPINNER.rotation_changed TO TRACKLIGHT1-XFORM.set_rotation
  4002. ROUTE TRACKLIGHT2-SHUTTLER.translation_changed TO SHUTTLER2-XFORM.set_translation
  4003. ROUTE TRACKLIGHT2-SHUTTLER.translation_changed TO SPINNER2-XFORM.set_translation
  4004. ROUTE TRACKLIGHT2-SPINNER.rotation_changed TO SPINNER2-XFORM.set_rotation
  4005. ROUTE TRACKLIGHT-LOGIC.spot2_0On TO SPOT2-0.set_on
  4006. ROUTE TRACKLIGHT-LOGIC.spot2_1On TO SPOT2-1.set_on
  4007. ROUTE TRACKLIGHT-LOGIC.spot2_2On TO SPOT2-2.set_on
  4008. ROUTE TRACKLIGHT-LOGIC.spot2_3On TO SPOT2-3.set_on
  4009. ROUTE TRACKLIGHT2-SHUTTLER.translation_changed TO TRACKLIGHT2-XFORM.set_translation
  4010. ROUTE TRACKLIGHT2-SPINNER.rotation_changed TO TRACKLIGHT2-XFORM.set_rotation
  4011. ROUTE DIMMER-LOGIC.enableDimmer TO LAMP-TRIGGER.set_enabled
  4012. ROUTE COLLISION-LOGIC.collideOn TO COLLISION.set_collide
  4013. ROUTE BALL-VP.isBound TO COLLISION-LOGIC.ballCamBound
  4014. ROUTE CONE-VP.isBound TO COLLISION-LOGIC.coneCamBound
  4015. ROUTE CUBE-VP.isBound TO COLLISION-LOGIC.cubeCamBound
  4016.